Class TreeSpline
Assembly: UnityEditor.dll
Syntax
[Serializable]
public class TreeSpline
Constructors
|
Improve this Doc
View Source
TreeSpline()
Declaration
|
Improve this Doc
View Source
TreeSpline(TreeSpline)
Declaration
public TreeSpline(TreeSpline o)
Parameters
Fields
|
Improve this Doc
View Source
nodes
Declaration
public SplineNode[] nodes
Field Value
|
Improve this Doc
View Source
tension
Declaration
Field Value
Methods
|
Improve this Doc
View Source
AddPoint(Vector3, Single)
Declaration
public void AddPoint(Vector3 pos, float timeInSeconds)
Parameters
|
Improve this Doc
View Source
GetApproximateLength()
Declaration
public float GetApproximateLength()
Returns
|
Improve this Doc
View Source
GetNodeCount()
Declaration
public int GetNodeCount()
Returns
|
Improve this Doc
View Source
GetNodes()
Declaration
public SplineNode[] GetNodes()
Returns
|
Improve this Doc
View Source
GetPositionAtTime(Single)
Declaration
public Vector3 GetPositionAtTime(float timeParam)
Parameters
Type |
Name |
Description |
Single |
timeParam |
|
Returns
|
Improve this Doc
View Source
GetRotationAtTime(Single)
Declaration
public Quaternion GetRotationAtTime(float timeParam)
Parameters
Type |
Name |
Description |
Single |
timeParam |
|
Returns
|
Improve this Doc
View Source
RemoveNode(Int32)
Declaration
public void RemoveNode(int c)
Parameters
Type |
Name |
Description |
Int32 |
c |
|
|
Improve this Doc
View Source
Reset()
Declaration
|
Improve this Doc
View Source
SetNodeCount(Int32)
Declaration
public void SetNodeCount(int c)
Parameters
Type |
Name |
Description |
Int32 |
c |
|
|
Improve this Doc
View Source
UpdateRotations()
Declaration
public void UpdateRotations()
|
Improve this Doc
View Source
UpdateTime()
Declaration
Extension Methods