Immerseum SDK: VR Simulator (version: RC-1.0.0)
       [view as Desktop | Tablet | Mobile]
getDistance(Boolean,Boolean) Method
Determines whether the distance is returned as an unsigned (absolute) value. True by default.
Determines whether the distance should ignore differences in height between the point and the Play Area's bounds. True by default.
Returns the shortest distance from the user's avatar to the Play Area's bounds.
Syntax
public float getDistance( 
   bool unsigned,
   bool ignoreHeight
)

Parameters

unsigned
Determines whether the distance is returned as an unsigned (absolute) value. True by default.
ignoreHeight
Determines whether the distance should ignore differences in height between the point and the Play Area's bounds. True by default.

Return Value

The distance 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