Immerseum SDK: VR Simulator (version: BETA-0.9)
       [view as Desktop | Tablet | Mobile]
setPlayAreaSize(PlayAreaSize,Vector2) Method
The PlayAreaSize that the Play Area should adopt.
If size is equal to PlayAreaSize.Custom, the dimensions (width along the x-axis, depth along the z-axis) of the custom-sized Play Area expressed as a Vector2.
Sets the size of the Play Area, supporting the use of custom dimensions.
Syntax
public void setPlayAreaSize( 
   PlayAreaSize size,
   UnityEngine.Vector2 dimensions
)

Parameters

size
The PlayAreaSize that the Play Area should adopt.
dimensions
If size is equal to PlayAreaSize.Custom, the dimensions (width along the x-axis, depth along the z-axis) of the custom-sized Play Area expressed as a Vector2.
See Also

Reference

PlayArea Class
PlayArea Members
Overload List

 

 


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

Send Feedback