
org.lwjgl.openxr.EXTLocalFloor Maven / Gradle / Ivy
Show all versions of lwjgl-openxr Show documentation
/*
* Copyright LWJGL. All rights reserved.
* License terms: https://www.lwjgl.org/license
* MACHINE GENERATED FILE, DO NOT EDIT
*/
package org.lwjgl.openxr;
/**
* The XR_EXT_local_floor extension.
*
* The core OpenXR spec contains two world-locked reference space {@code XrSpace} types in {@code XrReferenceSpaceType}, {@link XR10#XR_REFERENCE_SPACE_TYPE_LOCAL REFERENCE_SPACE_TYPE_LOCAL} and {@link XR10#XR_REFERENCE_SPACE_TYPE_STAGE REFERENCE_SPACE_TYPE_STAGE} with a design goal that {@code LOCAL} space gets the user positioned correctly in {@code XZ} space and {@code STAGE} gets the user positioned correctly in {@code Y} space.
*
* As defined in the core OpenXR spec, {@code LOCAL} space is useful when an application needs to render seated-scale content that is not positioned relative to the physical floor and {@code STAGE} space is useful when an application needs to render standing-scale content that is relative to the physical floor.
*
* The core OpenXR specification describes that standing-scale experiences are meant to use the {@code STAGE} reference space. However, using the {@code STAGE} forces the user to move to the stage space in order to operate their experience, rather than just standing locally where they are.
*/
public final class EXTLocalFloor {
/** The extension specification version. */
public static final int XR_EXT_local_floor_SPEC_VERSION = 1;
/** The extension name. */
public static final String XR_EXT_LOCAL_FLOOR_EXTENSION_NAME = "XR_EXT_local_floor";
/** Extends {@code XrReferenceSpaceType}. */
public static final int XR_REFERENCE_SPACE_TYPE_LOCAL_FLOOR_EXT = 1000426000;
private EXTLocalFloor() {}
}