Skip to content

KDXr::OpenXrReferenceSpace

Module: OpenXR

OpenXrReferenceSpace.

#include <openxr_reference_space.h>

Inherits from KDXr::ApiReferenceSpace

Public Functions

Name
OpenXrReferenceSpace(OpenXrResourceManager * _openxrResourceManager, XrSpace _referenceSpace, const KDGpu::Handle< Session_t > _sessionHandle, ReferenceSpaceType _type, Pose _pose)
OpenXrReferenceSpace(OpenXrResourceManager * _openxrResourceManager, XrSpace _referenceSpace, const KDGpu::Handle< Session_t > _sessionHandle, const KDGpu::Handle< Action_t > _actionHandle, Pose _pose)
virtual LocateSpaceResult locateSpace(const LocateSpaceOptions & options, SpaceState & state)

Public Attributes

Name
OpenXrResourceManager * openxrResourceManager
XrSpace referenceSpace
KDGpu::Handle< Session_t > sessionHandle
KDGpu::Handle< Action_t > actionHandle
ReferenceSpaceType type
Pose pose

Public Functions Documentation

function OpenXrReferenceSpace

1
2
3
4
5
6
7
explicit OpenXrReferenceSpace(
    OpenXrResourceManager * _openxrResourceManager,
    XrSpace _referenceSpace,
    const KDGpu::Handle< Session_t > _sessionHandle,
    ReferenceSpaceType _type,
    Pose _pose
)

function OpenXrReferenceSpace

1
2
3
4
5
6
7
explicit OpenXrReferenceSpace(
    OpenXrResourceManager * _openxrResourceManager,
    XrSpace _referenceSpace,
    const KDGpu::Handle< Session_t > _sessionHandle,
    const KDGpu::Handle< Action_t > _actionHandle,
    Pose _pose
)

function locateSpace

1
2
3
4
virtual LocateSpaceResult locateSpace(
    const LocateSpaceOptions & options,
    SpaceState & state
)

Reimplements: KDXr::ApiReferenceSpace::locateSpace

Public Attributes Documentation

variable openxrResourceManager

1
OpenXrResourceManager * openxrResourceManager { nullptr };

variable referenceSpace

1
XrSpace referenceSpace { XR_NULL_HANDLE };

variable sessionHandle

1
KDGpu::Handle< Session_t > sessionHandle;

variable actionHandle

1
KDGpu::Handle< Action_t > actionHandle;

variable type

1
ReferenceSpaceType type { ReferenceSpaceType::MaxEnum };

variable pose

1
Pose pose;

Updated on 2024-11-21 at 00:08:26 +0000