C# Class CardboardControlGaze

Inheritance: MonoBehaviour
Show file Open project: waltzaround/Cardboard-Asteroids Class Usage Examples

Public Properties

Property Type Description
OnChange CardboardControlDelegate
OnStare CardboardControlDelegate
layerMask LayerMask
maxDistance float
stareTimeThreshold float
useEventCooldowns bool
vibrateOnChange bool
vibrateOnStare bool

Public Methods

Method Description
Hit ( ) : RaycastHit
IsHeld ( ) : bool
Object ( ) : GameObject
PreviousObject ( ) : GameObject
SecondsHeld ( ) : float
Start ( ) : void
Update ( ) : void
WasHeld ( ) : bool

Private Methods

Method Description
CheckGaze ( ) : void
GazeChanged ( ) : bool
ReportGazeChange ( ) : void
ReportStare ( ) : void
Staring ( ) : bool

Method Details

Hit() public method

public Hit ( ) : RaycastHit
return UnityEngine.RaycastHit

IsHeld() public method

public IsHeld ( ) : bool
return bool

Object() public method

public Object ( ) : GameObject
return GameObject

PreviousObject() public method

public PreviousObject ( ) : GameObject
return GameObject

SecondsHeld() public method

public SecondsHeld ( ) : float
return float

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

WasHeld() public method

public WasHeld ( ) : bool
return bool

Property Details

OnChange public property

public CardboardControlDelegate OnChange
return CardboardControlDelegate

OnStare public property

public CardboardControlDelegate OnStare
return CardboardControlDelegate

layerMask public property

public LayerMask layerMask
return LayerMask

maxDistance public property

public float maxDistance
return float

stareTimeThreshold public property

public float stareTimeThreshold
return float

useEventCooldowns public property

public bool useEventCooldowns
return bool

vibrateOnChange public property

public bool vibrateOnChange
return bool

vibrateOnStare public property

public bool vibrateOnStare
return bool