.. Generated automatically by doc/tools/makerst.py in Godot's source tree. .. DO NOT EDIT THIS FILE, but the ARVRScriptInterface.xml source instead. .. The source is found in doc/classes or modules//doc_classes. .. _class_ARVRScriptInterface: ARVRScriptInterface =================== **Inherits:** :ref:`ARVRInterface` **<** :ref:`Reference` **<** :ref:`Object` **Category:** Core Brief Description ----------------- Base class for GDNative based ARVR interfaces. Member Functions ---------------- +------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`_get_projection_for_eye` **(** **)** virtual | +------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`commit_for_eye` **(** :ref:`int` eye, :ref:`RID` render_target **)** virtual | +------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`get_anchor_detection_is_enabled` **(** **)** virtual | +------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_capabilities` **(** **)** virtual | +------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Vector2` | :ref:`get_recommended_render_targetsize` **(** **)** virtual | +------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`int` | :ref:`get_tracking_status` **(** **)** virtual | +------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`Transform` | :ref:`get_transform_for_eye` **(** :ref:`int` eye, :ref:`Transform` cam_transform **)** virtual | +------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`initialize` **(** **)** virtual | +------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_initialized` **(** **)** virtual | +------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | :ref:`bool` | :ref:`is_stereo` **(** **)** virtual | +------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`process` **(** **)** virtual | +------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`set_anchor_detection_is_enabled` **(** :ref:`bool` enabled **)** virtual | +------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | void | :ref:`uninitialize` **(** **)** virtual | +------------------------------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Description ----------- This class is used as a base class/interface class for implementing GDNative based ARVR interfaces and as a result exposes more of the internals of the ARVR server. Member Function Description --------------------------- .. _class_ARVRScriptInterface__get_projection_for_eye: - void **_get_projection_for_eye** **(** **)** virtual Should return the projection 4x4 matrix for the requested eye. .. _class_ARVRScriptInterface_commit_for_eye: - void **commit_for_eye** **(** :ref:`int` eye, :ref:`RID` render_target **)** virtual Outputs a finished render buffer to the AR/VR device for the given eye. .. _class_ARVRScriptInterface_get_anchor_detection_is_enabled: - :ref:`bool` **get_anchor_detection_is_enabled** **(** **)** virtual Returns true if achor detection is enabled (AR only). .. _class_ARVRScriptInterface_get_capabilities: - :ref:`int` **get_capabilities** **(** **)** virtual Returns a combination of flags providing information about the capabilities of this interface. .. _class_ARVRScriptInterface_get_recommended_render_targetsize: - :ref:`Vector2` **get_recommended_render_targetsize** **(** **)** virtual Returns the size at which we should render our scene to get optimal quality on the output device. .. _class_ARVRScriptInterface_get_tracking_status: - :ref:`int` **get_tracking_status** **(** **)** virtual If supported, returns the status of our tracking. This will allow you to provide feedback to the user whether there are issues with positional tracking. .. _class_ARVRScriptInterface_get_transform_for_eye: - :ref:`Transform` **get_transform_for_eye** **(** :ref:`int` eye, :ref:`Transform` cam_transform **)** virtual Get the location and orientation transform used when rendering a specific eye. .. _class_ARVRScriptInterface_initialize: - :ref:`bool` **initialize** **(** **)** virtual Initialize this interface. .. _class_ARVRScriptInterface_is_initialized: - :ref:`bool` **is_initialized** **(** **)** virtual Returns true if this interface has been initialized and is active. .. _class_ARVRScriptInterface_is_stereo: - :ref:`bool` **is_stereo** **(** **)** virtual Returns true if we require stereoscopic rendering for this interface. .. _class_ARVRScriptInterface_process: - void **process** **(** **)** virtual Gets called before rendering each frame so tracking data gets updated in time. .. _class_ARVRScriptInterface_set_anchor_detection_is_enabled: - void **set_anchor_detection_is_enabled** **(** :ref:`bool` enabled **)** virtual Enables anchor detection, this is used on AR interfaces and enables the extra logic that will detect planes, features, objects, etc. and adds/modifies anchor points. .. _class_ARVRScriptInterface_uninitialize: - void **uninitialize** **(** **)** virtual Turn this interface off.