C# Class OVRGridCube

OVR grid cube.
Inheritance: MonoBehaviour
Exibir arquivo Open project: leapmotion/ImageGrid Class Usage Examples

Public Properties

Property Type Description
GridKey KeyCode,

Public Methods

Method Description
CreateCubeGrid ( ) : void
CubeGridSwitchColor ( bool CubeSwitchColor ) : void

Switch the Cube grid color.

SetOVRCameraController ( OVRCameraRig, &cameraController ) : void

Sets the OVR camera controller.

Update ( ) : void

Update this instance.

UpdateCubeGrid ( ) : void

Method Details

CreateCubeGrid() public method

public CreateCubeGrid ( ) : void
return void

CubeGridSwitchColor() public method

Switch the Cube grid color.
public CubeGridSwitchColor ( bool CubeSwitchColor ) : void
CubeSwitchColor bool If set to true cube switch color.
return void

SetOVRCameraController() public method

Sets the OVR camera controller.
public SetOVRCameraController ( OVRCameraRig, &cameraController ) : void
cameraController OVRCameraRig, Camera controller.
return void

Update() public method

Update this instance.
public Update ( ) : void
return void

UpdateCubeGrid() public method

public UpdateCubeGrid ( ) : void
return void

Property Details

GridKey public_oe property

The key that toggles the grid of cubes.
public KeyCode, GridKey
return KeyCode,