Immerseum SDK: VR Simulator (version: BETA-0.9)
       [view as Desktop | Tablet | Mobile]
getDefaultHeadHeight Method
Example 
The HeightTargets value for which the head height value should be returned.
Returns the default Head Height for given HeightTargets value.
Syntax
public static float getDefaultHeadHeight( 
   HeightTargets forPosition
)

Parameters

forPosition
The HeightTargets value for which the head height value should be returned.

Return Value

A floating point value that represents the height in meters (or unity units) of the simulated user's head.
Example
The following example retrieves the default head height for the StandingHeightTargets.
float defaultHeadHeight = HMDSimulator.getDefaultHeadHeight(HeightTargets.Standing);
// Returns: 1.65f;
See Also

Reference

HMDSimulator Class
HMDSimulator Members
HeightTargets Enumeration

 

 


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

Send Feedback