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