프로퍼티 | 타입 | 설명 |
---|
메소드 | 설명 | |
---|---|---|
Add ( Vector2 point ) : void | ||
GetLength ( ) : float | ||
GetPosition ( float time ) : Vector2 | ||
GetPositionNormal ( float time ) : Vector2 |
Gets the normal for the given time.
|
|
GetVertices ( int divisions ) : List |
Returns a set of points defining the curve with the specifed number of divisions between each control point.
|
|
NextIndex ( int index ) : int |
Gets the next index of a controlpoint
|
|
Path ( ) : System |
Initializes a new instance of the Path class.
|
|
Path ( IList |
Initializes a new instance of the Path class.
|
|
Path ( Vector2 vertices ) : System |
Initializes a new instance of the Path class.
|
|
PreviousIndex ( int index ) : int |
Gets the previous index of a controlpoint
|
|
Remove ( Vector2 point ) : void | ||
RemoveAt ( int index ) : void | ||
Rotate ( float value ) : void |
Rotate the control points by the defined value in radians.
|
|
Scale ( Vector2 &value ) : void |
Scales the control points by the specified vector.
|
|
SubdivideEvenly ( int divisions ) : List |
||
ToString ( ) : string | ||
Translate ( Vector2 &vector ) : void |
Translates the control points by the specified vector.
|
public GetPositionNormal ( float time ) : Vector2 | ||
time | float | The time |
리턴 | Vector2 |
public GetVertices ( int divisions ) : List |
||
divisions | int | Number of divisions between each control point. |
리턴 | List |
public Path ( IList |
||
vertices | IList |
The vertices to created the path from. |
리턴 | System |
public Path ( Vector2 vertices ) : System | ||
vertices | Vector2 | The vertices to created the path from. |
리턴 | System |
public Rotate ( float value ) : void | ||
value | float | The amount to rotate by in radians. |
리턴 | void |