Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [view as Desktop | Tablet | Mobile]
endPositionController Method
Integer which identifies which simulated controller being positioned. Accepts 0 for the left-hand controller, and 1 for the right-hand controller.
The position to which the simulated controller should be moved, expressed as a ControllerPositions.

Fires the OnPositionControllerEnd event.

Be Aware Be Aware

Listeners are expected to have a return type of void and to accept the same parameters as this method (see below).

Syntax
public static void endPositionController( 
   int controller,
   ControllerPositions targetPosition
)

Parameters

controller
Integer which identifies which simulated controller being positioned. Accepts 0 for the left-hand controller, and 1 for the right-hand controller.
targetPosition
The position to which the simulated controller should be moved, expressed as a ControllerPositions.
See Also

Reference

EventManager Class
EventManager Members

 

 


Copyright (c) 2016-2017 Immerseum Inc. All rights reserved.

Send Feedback