Documentation: Add support for deprecated/experimental messages
This commit is contained in:
@ -102,18 +102,16 @@
|
||||
Is [code]true[/code] if this interface has been initialized.
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_passthrough_enabled" is_deprecated="true">
|
||||
<method name="is_passthrough_enabled" deprecated="Check if [member environment_blend_mode] is [constant XRInterface.XR_ENV_BLEND_MODE_ALPHA_BLEND], instead.">
|
||||
<return type="bool" />
|
||||
<description>
|
||||
Is [code]true[/code] if passthrough is enabled.
|
||||
[i]Deprecated.[/i] Check if [member environment_blend_mode] is [constant XRInterface.XR_ENV_BLEND_MODE_ALPHA_BLEND], instead.
|
||||
</description>
|
||||
</method>
|
||||
<method name="is_passthrough_supported" is_deprecated="true">
|
||||
<method name="is_passthrough_supported" deprecated="Check that [constant XRInterface.XR_ENV_BLEND_MODE_ALPHA_BLEND] is supported using [method get_supported_environment_blend_modes], instead.">
|
||||
<return type="bool" />
|
||||
<description>
|
||||
Is [code]true[/code] if this interface supports passthrough.
|
||||
[i]Deprecated.[/i] Check that [constant XRInterface.XR_ENV_BLEND_MODE_ALPHA_BLEND] is supported using [method get_supported_environment_blend_modes], instead.
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_environment_blend_mode">
|
||||
@ -146,19 +144,17 @@
|
||||
[b]Note:[/b] Changing this after the interface has already been initialized can be jarring for the player, so it's recommended to recenter on the HMD with [method XRServer.center_on_hmd] (if switching to [constant XRInterface.XR_PLAY_AREA_STAGE]) or make the switch during a scene change.
|
||||
</description>
|
||||
</method>
|
||||
<method name="start_passthrough" is_deprecated="true">
|
||||
<method name="start_passthrough" deprecated="Set the [member environment_blend_mode] to [constant XRInterface.XR_ENV_BLEND_MODE_ALPHA_BLEND], instead.">
|
||||
<return type="bool" />
|
||||
<description>
|
||||
Starts passthrough, will return [code]false[/code] if passthrough couldn't be started.
|
||||
[b]Note:[/b] The viewport used for XR must have a transparent background, otherwise passthrough may not properly render.
|
||||
[i]Deprecated.[/i] Set the [member environment_blend_mode] to [constant XRInterface.XR_ENV_BLEND_MODE_ALPHA_BLEND], instead.
|
||||
</description>
|
||||
</method>
|
||||
<method name="stop_passthrough" is_deprecated="true">
|
||||
<method name="stop_passthrough" deprecated="Set the [member environment_blend_mode] to [constant XRInterface.XR_ENV_BLEND_MODE_OPAQUE], instead.">
|
||||
<return type="void" />
|
||||
<description>
|
||||
Stops passthrough.
|
||||
[i]Deprecated.[/i] Set the [member environment_blend_mode] to [constant XRInterface.XR_ENV_BLEND_MODE_OPAQUE], instead.
|
||||
</description>
|
||||
</method>
|
||||
<method name="supports_play_area_mode">
|
||||
|
||||
Reference in New Issue
Block a user