C# Class PointCloudGestureTemplate, swip3

Inheritance: UnityEngine.ScriptableObject
Afficher le fichier Open project: unit9/swip3 Class Usage Examples

Méthodes publiques

Méthode Description
AddPoint ( int stroke, Vector2 p ) : void
AddPoint ( int stroke, float x, float y ) : void
BeginPoints ( ) : void
EndPoints ( ) : void
GetPosition ( int pointIndex ) : Vector2
GetStrokeId ( int pointIndex ) : int
Normalize ( ) : void

Private Methods

Méthode Description
MakeDirty ( ) : void

Method Details

AddPoint() public méthode

public AddPoint ( int stroke, Vector2 p ) : void
stroke int
p Vector2
Résultat void

AddPoint() public méthode

public AddPoint ( int stroke, float x, float y ) : void
stroke int
x float
y float
Résultat void

BeginPoints() public méthode

public BeginPoints ( ) : void
Résultat void

EndPoints() public méthode

public EndPoints ( ) : void
Résultat void

GetPosition() public méthode

public GetPosition ( int pointIndex ) : Vector2
pointIndex int
Résultat Vector2

GetStrokeId() public méthode

public GetStrokeId ( int pointIndex ) : int
pointIndex int
Résultat int

Normalize() public méthode

public Normalize ( ) : void
Résultat void