Immerseum SDK: VR Simulator (version: BETA-0.9)
       [view as Desktop | Tablet | Mobile]
setDimensions(Single,Single) Method
The width (along the x-axis) that the Play Area should adopt, expressed in worldspace units (equivalent to meters).
The depth (along the z-axis) that the Play Area should adopt, expressed in worldspace units (equivalent to meters).
Adjusts the dimensions of the Play Area to the width/depth provided.
Syntax
public void setDimensions( 
   float newWidth,
   float newDepth
)

Parameters

newWidth
The width (along the x-axis) that the Play Area should adopt, expressed in worldspace units (equivalent to meters).
newDepth
The depth (along the z-axis) that the Play Area should adopt, expressed in worldspace units (equivalent to meters).
See Also

Reference

PlayArea Class
PlayArea Members
Overload List

 

 


Copyright (c) 2015 Immerseum Inc. All rights reserved.

Send Feedback