OpenXRFbSpaceWarpExtensionWrapper
Inherits: OpenXRExtensionWrapperExtension
Wraps the XR_FB_space_warp
extension.
Description
Wraps the XR_FB_space_warp
extension.
Methods
bool |
is_enabled ( ) |
void |
set_space_warp_enabled ( bool enable ) |
void |
Method Descriptions
bool is_enabled ( )
Checks if the extension is enabled or not.
void set_space_warp_enabled ( bool enable )
Sets the extension as enabled or disabled.
If you only want to disable for a single frame, see skip_space_warp_frame.
Note: The Application Space Warp project setting must be enabled in order to enable Application Space Warp.
void skip_space_warp_frame ( )
Skips space warp frame extrapolation for the next rendered frame.
This is useful in situations where the player camera is snapping/teleporting to a different position.
If you want to disable for longer than a single frame, see set_space_warp_enabled.