Inherits G3D::ReferenceCountedObject.
Inherited by G3D::XR::Controller, G3D::XR::Hand, and G3D::XR::HMD.
|
| template<class T , class ... ArgTypes> |
| static shared_ptr< T > | createShared (ArgTypes &&... args) |
| | Like std::make_shared, but works for protected constructors. More...
|
| |
◆ Object()
| G3D::XR::Object::Object |
( |
int |
index, |
|
|
int |
nativeAPIIndex, |
|
|
const String & |
name |
|
) |
| |
|
protected |
◆ create()
| static shared_ptr<Object> G3D::XR::Object::create |
( |
int |
index, |
|
|
int |
nativeAPIIndex, |
|
|
const String & |
name |
|
) |
| |
|
inlinestatic |
◆ createShared()
template<class T , class ... ArgTypes>
| static shared_ptr<T> G3D::ReferenceCountedObject::createShared |
( |
ArgTypes &&... |
args | ) |
|
|
inlinestaticprotectedinherited |
Like std::make_shared, but works for protected constructors.
Call as createShared<myclass>.
◆ frame()
| const CFrame& G3D::XR::Object::frame |
( |
| ) |
const |
|
inline |
Where the AR/VR system estimates the object will be at the time of the next HMD::submit() call, in the room coordinate frame.
◆ index()
| const int G3D::XR::Object::index |
( |
| ) |
const |
|
inline |
◆ isController()
| virtual bool G3D::XR::Object::isController |
( |
| ) |
const |
|
inlinevirtual |
◆ isHMD()
| virtual bool G3D::XR::Object::isHMD |
( |
| ) |
const |
|
inlinevirtual |
◆ name()
| const String& G3D::XR::Object::name |
( |
| ) |
const |
|
inline |
◆ nativeAPIIndex()
| int G3D::XR::Object::nativeAPIIndex |
( |
| ) |
const |
|
inline |
◆ previousFrame()
| const CFrame& G3D::XR::Object::previousFrame |
( |
| ) |
const |
|
inline |
Frame that was predicted at the previous HMD::submit() time.
◆ XR
◆ m_frame
| CFrame G3D::XR::Object::m_frame |
|
protected |
◆ m_index
| int G3D::XR::Object::m_index |
|
protected |
◆ m_name
| String G3D::XR::Object::m_name |
|
protected |
◆ m_nativeAPIIndex
| int G3D::XR::Object::m_nativeAPIIndex |
|
protected |
◆ m_previousFrame
| CFrame G3D::XR::Object::m_previousFrame |
|
protected |