C# Class TreeEditor.TreeSpline

Afficher le fichier Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Méthodes publiques

Свойство Type Description
nodes TreeEditor.SplineNode[]
tension float

Méthodes publiques

Méthode 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

Méthode Description
GetPositionInternal ( int idxFirstpoint, float t ) : Vector3
GetRotationInternal ( int idxFirstpoint, float t ) : Quaternion
OnDisable ( ) : void

Method Details

AddPoint() public méthode

public AddPoint ( Vector3 pos, float timeInSeconds ) : void
pos Vector3
timeInSeconds float
Résultat void

GetApproximateLength() public méthode

public GetApproximateLength ( ) : float
Résultat float

GetNodeCount() public méthode

public GetNodeCount ( ) : int
Résultat int

GetNodes() public méthode

public GetNodes ( ) : TreeEditor.SplineNode[]
Résultat TreeEditor.SplineNode[]

GetPositionAtTime() public méthode

public GetPositionAtTime ( float timeParam ) : Vector3
timeParam float
Résultat Vector3

GetRotationAtTime() public méthode

public GetRotationAtTime ( float timeParam ) : Quaternion
timeParam float
Résultat UnityEngine.Quaternion

RemoveNode() public méthode

public RemoveNode ( int c ) : void
c int
Résultat void

Reset() public méthode

public Reset ( ) : void
Résultat void

SetNodeCount() public méthode

public SetNodeCount ( int c ) : void
c int
Résultat void

TreeSpline() public méthode

public TreeSpline ( ) : System
Résultat System

TreeSpline() public méthode

public TreeSpline ( TreeSpline o ) : System
o TreeSpline
Résultat System

UpdateRotations() public méthode

public UpdateRotations ( ) : void
Résultat void

UpdateTime() public méthode

public UpdateTime ( ) : void
Résultat void

Property Details

nodes public_oe property

public SplineNode[],TreeEditor nodes
Résultat TreeEditor.SplineNode[]

tension public_oe property

public float tension
Résultat float