C# Class GazeInputModule, unity-cardboard-photosphere

Inheritance: BaseInputModule
Show file Open project: omgwtfgames/unity-cardboard-photosphere Class Usage Examples

Public Properties

Property Type Description
gazePointer IGvrGazePointer

Public Methods

Method Description
DeactivateModule ( ) : void
IsPointerOverGameObject ( int pointerId ) : bool
Process ( ) : void
ShouldActivateModule ( ) : bool

Private Methods

Method Description
CastRayFromGaze ( ) : void
DisableGazePointer ( ) : void
GetCurrentGameObject ( ) : GameObject
GetIntersectionPosition ( ) : Vector3
HandleDrag ( ) : void
HandlePendingClick ( ) : void
HandleTrigger ( ) : void
NormalizedCartesianToSpherical ( Vector3 cartCoords ) : Vector2
UpdateCurrentObject ( ) : void
UpdateReticle ( GameObject previousGazedObject ) : void

Method Details

DeactivateModule() public method

public DeactivateModule ( ) : void
return void

IsPointerOverGameObject() public method

public IsPointerOverGameObject ( int pointerId ) : bool
pointerId int
return bool

Process() public method

public Process ( ) : void
return void

ShouldActivateModule() public method

public ShouldActivateModule ( ) : bool
return bool

Property Details

gazePointer public static property

public static IGvrGazePointer gazePointer
return IGvrGazePointer