void UpdateProperties() { UnityGlobalGvrProperties unityGlobalGvrProperties = new UnityGlobalGvrProperties(); if (GetGlobalGvrProperties(ref unityGlobalGvrProperties)) { floorHeight = unityGlobalGvrProperties.floorHeight; recenterTransform = unityGlobalGvrProperties.recenterTransform; safetyRegionType = unityGlobalGvrProperties.safetyRegionType; safetyCylinderEnterRadius = unityGlobalGvrProperties.safetyCylinderEnterRadius; safetyCylinderExitRadius = unityGlobalGvrProperties.safetyCylinderExitRadius; } }
void UpdateProperties() { UnityGlobalGvrProperties unityGlobalGvrProperties = new UnityGlobalGvrProperties(); if (GetGlobalGvrProperties(ref unityGlobalGvrProperties)) { supportsPositionalHeadTracking = unityGlobalGvrProperties.supportsPositionalHeadTracking; supportsSeeThrough = unityGlobalGvrProperties.supportsSeeThrough; floorHeight = unityGlobalGvrProperties.floorHeight; recenterTransform = unityGlobalGvrProperties.recenterTransform; safetyRegionType = unityGlobalGvrProperties.safetyRegionType; safetyCylinderEnterRadius = unityGlobalGvrProperties.safetyCylinderEnterRadius; safetyCylinderExitRadius = unityGlobalGvrProperties.safetyCylinderExitRadius; } }
private static extern bool GetGlobalGvrProperties(ref UnityGlobalGvrProperties outputProperties);