Tracked human hand.
More...
Inherits G3D::XR::Object.
|
template<class T , class ... ArgTypes> |
static shared_ptr< T > | createShared (ArgTypes &&... args) |
| Like std::make_shared, but works for protected constructors. More...
|
|
◆ Hand()
G3D::XR::Hand::Hand |
( |
int |
index, |
|
|
int |
nativeAPIIndex, |
|
|
const String & |
name |
|
) |
| |
|
inlineprotected |
◆ boneFrameArray()
const Array<CFrame>& G3D::XR::Hand::boneFrameArray |
( |
| ) |
const |
|
inline |
Coordinate frame for each bone (joint).
These are relative to the root bone, not the tracking space, the parent bone, or world space.
- See also
- BoneIndex
◆ create()
static shared_ptr<Hand> G3D::XR::Hand::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 |
|
inlineinherited |
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 |
|
inlineinherited |
◆ isController()
virtual bool G3D::XR::Object::isController |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ isHMD()
virtual bool G3D::XR::Object::isHMD |
( |
| ) |
const |
|
inlinevirtualinherited |
◆ name()
const String& G3D::XR::Object::name |
( |
| ) |
const |
|
inlineinherited |
◆ nativeAPIIndex()
int G3D::XR::Object::nativeAPIIndex |
( |
| ) |
const |
|
inlineinherited |
◆ previousFrame()
const CFrame& G3D::XR::Object::previousFrame |
( |
| ) |
const |
|
inlineinherited |
Frame that was predicted at the previous HMD::submit() time.
◆ m_boneArray
◆ m_frame
CFrame G3D::XR::Object::m_frame |
|
protectedinherited |
◆ m_index
int G3D::XR::Object::m_index |
|
protectedinherited |
◆ m_name
String G3D::XR::Object::m_name |
|
protectedinherited |
◆ m_nativeAPIIndex
int G3D::XR::Object::m_nativeAPIIndex |
|
protectedinherited |
◆ m_previousFrame
CFrame G3D::XR::Object::m_previousFrame |
|
protectedinherited |