Class Spline
Syntax
[Serializable]
public class Spline
Properties
isOpenEnded
Declaration
public bool isOpenEnded { get; set; }
Property Value
Methods
Clear()
Declaration
GetCorner(Int32)
Declaration
public bool GetCorner(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
GetHeight(Int32)
Declaration
public float GetHeight(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
GetLeftTangent(Int32)
Declaration
public Vector3 GetLeftTangent(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
GetPointCount()
Declaration
public int GetPointCount()
Returns
GetPosition(Int32)
Declaration
public Vector3 GetPosition(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
GetRightTangent(Int32)
Declaration
public Vector3 GetRightTangent(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
GetSpriteIndex(Int32)
Declaration
public int GetSpriteIndex(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
GetTangentMode(Int32)
Declaration
public ShapeTangentMode GetTangentMode(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Returns
InsertPointAt(Int32, Vector3)
Declaration
public void InsertPointAt(int index, Vector3 point)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Vector3 |
point |
|
RemovePointAt(Int32)
Declaration
public void RemovePointAt(int index)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
SetCorner(Int32, Boolean)
Declaration
public void SetCorner(int index, bool value)
Parameters
SetHeight(Int32, Single)
Declaration
public void SetHeight(int index, float value)
Parameters
SetLeftTangent(Int32, Vector3)
Declaration
public void SetLeftTangent(int index, Vector3 tangent)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Vector3 |
tangent |
|
SetPosition(Int32, Vector3)
Declaration
public void SetPosition(int index, Vector3 point)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Vector3 |
point |
|
SetRightTangent(Int32, Vector3)
Declaration
public void SetRightTangent(int index, Vector3 tangent)
Parameters
Type |
Name |
Description |
Int32 |
index |
|
Vector3 |
tangent |
|
SetSpriteIndex(Int32, Int32)
Declaration
public void SetSpriteIndex(int index, int value)
Parameters
SetTangentMode(Int32, ShapeTangentMode)
Declaration
public void SetTangentMode(int index, ShapeTangentMode mode)
Parameters