Immerseum SDK: VR Simulator (version: BETA-0.9)
       [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( 
   UnityEngine.Vector3 cameraPosition,
   UnityEngine.Vector3 leftControllerPosition,
   UnityEngine.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) 2015 Immerseum Inc. All rights reserved.

Send Feedback