Provides script language access to C++ objects of this type.
Function members are as follows:
Return Type | Function Name | Documentation |
---|---|---|
int32 | AddPoint | Adds a point to the end of the path. |
int32 | DeleteSegment | Deletes a segment from a Path. |
double | GetDuration | Returns the duration of a Path. The duration is the combined length of all segments of the Path. |
<Vec> | GetPoint | Returns a <Vec> object that contains the worldspace coordinates of the specified path point in 3D coordinates. |
int32 | GetSegmentEndIndex | Returns the index of the final vertex for the specified segment. |
double | GetSegmentLength | Returns the length of the specified path segment. |
int32 | GetSegmentStartIndex | Returns the index of the starting vertex index for the specified segment. |
int32 | GetSegmentStyle | Returns the style of a path segment. The style can be 0 for linear, or 1 for Bezier. |
int32 | MergePalette | Merges the palette of SourceNode with a Path. SourceNode must be either be derived from Path or <Mesh>, or be a <NodeLink> pointing at a Path or <Mesh>, or this function will fail. If Database is a valid <EditModel3D> object, or the Path is connected to a valid <EditModel3D> object, an editing action will be used to combine the palettes. Otherwise the palettes will be combined directly and the result cannot be undone by the user. |
int32 | PointIndexToSegment | Gets the segment index of the specified path vertex. |
int32 | SetPoint | Set the path point at the specified index to the specified 3D coordinate. |
int32 | SetSegmentStyle | Set the style of a path segment. The style can be 0 for linear, or 1 for Bezier. |
int32 | SplitSegment | Splits a path segment at a specified location. |
int32 | UpdatePathPosition | Gets a position along a Path, specified by a delta time. |
Object members are as follows:
Type Name | Accessor Name | Documentation |
---|---|---|
<Group> | PaletteGroup | Gets or sets the MaterialPaletteGroup parameter. |
<Node> | PaletteLink | Gets or sets the MaterialPaletteLink parameter. |
int32 | PointCount | Returns the PointCount parameter. |
int32 | SegmentCount | Gets or sets the path SegmentCount. |
int32[] | SegmentMaterial[ index ] | Gets or sets the SegmentMaterial parameter. |
int32[] | TessellationDepth[ index ] | Gets or sets the TessellationDepth parameter. |
float[] | TextureCoordinate[ index ] | Gets or sets the TextureCoordinate parameter. |