Constant ovr_sys::ovrLayerFlag_HeadLocked
source · pub const ovrLayerFlag_HeadLocked: ovrLayerFlags = 0x04;
Expand description
Mark this surface as “headlocked”, which means it is specified relative to the HMD and moves with it, rather than being specified relative to sensor/torso space and remaining still while the head moves.
What used to be ovrLayerType_QuadHeadLocked
is now ovrLayerType_Quad
plus this flag.
However the flag can be applied to any layer type to achieve a similar effect.