PlayerModeExtensions
A static class in Alta.Platform, the global namespace.
Extension methods on the PlayerMode flags.
- Listed in Other Alta assemblies
- Attributes
Extension
Fields
2 private and internal fields
| Member | What it is |
|---|---|
private const PlayerMode Cosmetics | Flag mask of the modes that use cosmetics. Same as VR. |
private const PlayerMode VR | Flag mask of the VR modes: OpenVR, Oculus and PicoXR. |
Methods
| Member | What it is |
|---|---|
static bool CheckCosmetics(PlayerMode mode) | True if the mode is a VR mode (OpenVR, Oculus or PicoXR). Same test as CheckVR. |
static bool CheckVR(PlayerMode mode) | True if the mode includes OpenVR, Oculus or PicoXR. |