Base class: Object
This class handles objects that appear in both the virtual and real world, such as the VR headset and controllers. You can use the Entity::Attach method to attach an object to a VR device.
Property | Type | Description |
---|---|---|
model | const shared_ptr<Model>& | 3D model representing the real object |
Connected | Method | returns true if the device is connected |
GetMatrix | Method | returns the device 4x4 matrix |
GetPosition | Method | returns the device position |
GetQuaternion | Method | returns the device quaternion |
GetRotation | Method | returns the device rotation |