C# Class WidgetShowcase.EmitterTrail

Inheritance: UnityEngine.MonoBehaviour
Show file Open project: leapmotion/StarGrabberGearVR

Public Properties

Property Type Description
AURORA_HEIGHT float
Emitter UnityEngine.GameObject
HandInputEmitter WidgetShowcase.HandEmitter
MAX_POINTS int
MIN_Y float
MyCamera UnityEngine.Camera
SCALE_RATIO float
VCOUNT int

Private Properties

Property Type Description
IsFarEnoughAway bool
RandomSpinePoint UnityEngine.Vector3
setEmmissionRateFromPercentage void

Public Methods

Method Description
AddHandPoints ( HandModel handModel ) : void
HandleHandEvent ( object sender, LMWidgets e ) : void
OnEnable ( ) : void
ScaleLocalPosition ( ) : void
SetEmission ( bool b ) : void
Start ( ) : void
Update ( ) : void

Private Methods

Method Description
IsFarEnoughAway ( Vector3 v ) : bool
RandomSpinePoint ( ) : Vector3
setEmmissionRateFromPercentage ( float percent ) : void

Method Details

AddHandPoints() public method

public AddHandPoints ( HandModel handModel ) : void
handModel HandModel
return void

HandleHandEvent() public method

public HandleHandEvent ( object sender, LMWidgets e ) : void
sender object
e LMWidgets
return void

OnEnable() public method

public OnEnable ( ) : void
return void

ScaleLocalPosition() public method

public ScaleLocalPosition ( ) : void
return void

SetEmission() public method

public SetEmission ( bool b ) : void
b bool
return void

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

Property Details

AURORA_HEIGHT public property

public float AURORA_HEIGHT
return float

Emitter public property

public GameObject,UnityEngine Emitter
return UnityEngine.GameObject

HandInputEmitter public property

public HandEmitter,WidgetShowcase HandInputEmitter
return WidgetShowcase.HandEmitter

MAX_POINTS public property

public int MAX_POINTS
return int

MIN_Y public property

public float MIN_Y
return float

MyCamera public property

public Camera,UnityEngine MyCamera
return UnityEngine.Camera

SCALE_RATIO public property

public float SCALE_RATIO
return float

VCOUNT public property

public int VCOUNT
return int