Path
Smoothed paths as used in movement and cineractive.
Properties
Name | Type | Access | Description |
---|---|---|---|
count | Number | R | The number of points in the path |
name | String | R | Label of the path |
points | Table of Vector | R | Points on the path |
Functions
- Constructors
Constructors for the Path class.
- Path( name )
Create a new path or access an existing one.
- Path( name )
- Instance Functions
Functions that are used with a Path instance.
- append( point )
Add a point to the end of the Path
- prepend( point )
Add a point to the start of the Path
- remove( index )
Remove the point at the specified index
- set( index, point )
Set the value of the point at the specified index
- append( point )