C# Class PointCloudGestureTemplate, swip3

Inheritance: UnityEngine.ScriptableObject
Exibir arquivo Open project: unit9/swip3 Class Usage Examples

Public Methods

Method 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

Method Description
MakeDirty ( ) : void

Method Details

AddPoint() public method

public AddPoint ( int stroke, Vector2 p ) : void
stroke int
p Vector2
return void

AddPoint() public method

public AddPoint ( int stroke, float x, float y ) : void
stroke int
x float
y float
return void

BeginPoints() public method

public BeginPoints ( ) : void
return void

EndPoints() public method

public EndPoints ( ) : void
return void

GetPosition() public method

public GetPosition ( int pointIndex ) : Vector2
pointIndex int
return Vector2

GetStrokeId() public method

public GetStrokeId ( int pointIndex ) : int
pointIndex int
return int

Normalize() public method

public Normalize ( ) : void
return void