Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [view as Desktop | Tablet | Mobile]
isWithinBoundary(Vector3,Vector3,Vector3) Method
The position in worldspace of the camera.
The position in worldspace of the left-hand controller.
The position in worldspace of the right-hand controller.
Determines whether the three points provided are within the Play Area's bounds.
Syntax
public bool isWithinBoundary( 
   Vector3 cameraPosition,
   Vector3 leftControllerPosition,
   Vector3 rightControllerPosition
)

Parameters

cameraPosition
The position in worldspace of the camera.
leftControllerPosition
The position in worldspace of the left-hand controller.
rightControllerPosition
The position in worldspace of the right-hand controller.

Return Value

true if all three points are within the Play Area's bounds, otherwise false.
See Also

Reference

PlayArea Class
PlayArea Members
Overload List

 

 


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

Send Feedback