SplitSegment Data Member Function

Splits a path segment at a specified location.

Prototype

int32 SplitSegment( int32 p_nSegmentIndex, double Time )

Parameters

Parameter Type Parameter Name Documentation
int32p_nSegmentIndexThe index of the segment to split.
doubleTimeA value between 0.0 and 1.0 indicating where to split the path. A value of 0.5 specifies to split the segment at the center point, for instance.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.