Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [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) 2016-2017 Immerseum Inc. All rights reserved.

Send Feedback