C# Class TreeEditor.TreeSpline

Datei anzeigen Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Properties

Property Type Description
nodes TreeEditor.SplineNode[]
tension float

Public Methods

Method Description
AddPoint ( Vector3 pos, float timeInSeconds ) : void
GetApproximateLength ( ) : float
GetNodeCount ( ) : int
GetNodes ( ) : TreeEditor.SplineNode[]
GetPositionAtTime ( float timeParam ) : Vector3
GetRotationAtTime ( float timeParam ) : Quaternion
RemoveNode ( int c ) : void
Reset ( ) : void
SetNodeCount ( int c ) : void
TreeSpline ( ) : System
TreeSpline ( TreeSpline o ) : System
UpdateRotations ( ) : void
UpdateTime ( ) : void

Private Methods

Method Description
GetPositionInternal ( int idxFirstpoint, float t ) : Vector3
GetRotationInternal ( int idxFirstpoint, float t ) : Quaternion
OnDisable ( ) : void

Method Details

AddPoint() public method

public AddPoint ( Vector3 pos, float timeInSeconds ) : void
pos Vector3
timeInSeconds float
return void

GetApproximateLength() public method

public GetApproximateLength ( ) : float
return float

GetNodeCount() public method

public GetNodeCount ( ) : int
return int

GetNodes() public method

public GetNodes ( ) : TreeEditor.SplineNode[]
return TreeEditor.SplineNode[]

GetPositionAtTime() public method

public GetPositionAtTime ( float timeParam ) : Vector3
timeParam float
return Vector3

GetRotationAtTime() public method

public GetRotationAtTime ( float timeParam ) : Quaternion
timeParam float
return UnityEngine.Quaternion

RemoveNode() public method

public RemoveNode ( int c ) : void
c int
return void

Reset() public method

public Reset ( ) : void
return void

SetNodeCount() public method

public SetNodeCount ( int c ) : void
c int
return void

TreeSpline() public method

public TreeSpline ( ) : System
return System

TreeSpline() public method

public TreeSpline ( TreeSpline o ) : System
o TreeSpline
return System

UpdateRotations() public method

public UpdateRotations ( ) : void
return void

UpdateTime() public method

public UpdateTime ( ) : void
return void

Property Details

nodes public_oe property

public SplineNode[],TreeEditor nodes
return TreeEditor.SplineNode[]

tension public_oe property

public float tension
return float