- _setJoyId
void _setJoyId(long joy_id)
- _setName
void _setName(StringArg0 name)
- _setOrientation
void _setOrientation(Basis orientation)
- _setRwPosition
void _setRwPosition(Vector3 rw_position)
- _setType
void _setType(long type)
- getHand
ARVRPositionalTracker.TrackerHand getHand()
Returns the hand holding this tracker, if known. See TRACKER_* constants.
- getJoyId
long getJoyId()
If this is a controller that is being tracked the controller will also be represented by a joystick entry with this id.
- getName
String getName()
Returns the controller or anchor point's name if available.
- getOrientation
Basis getOrientation()
Returns the controller's orientation matrix.
- getPosition
Vector3 getPosition()
Returns the world-space controller position.
- getRumble
double getRumble()
- getTracksOrientation
bool getTracksOrientation()
Returns true if this device tracks orientation.
- getTracksPosition
bool getTracksPosition()
Returns true if this device tracks position.
- getTransform
Transform getTransform(bool adjust_by_reference_frame)
Returns the transform combining this device's orientation and position.
- getType
ARVRServer.TrackerType getType()
Returns the tracker's type.
- opAssign
ARVRPositionalTracker opAssign(T n)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(ARVRPositionalTracker other)
Undocumented in source. Be warned that the author may not have intended to support it.
- opEquals
bool opEquals(typeof(null) n)
Undocumented in source. Be warned that the author may not have intended to support it.
- setRumble
void setRumble(double rumble)
A tracked object
An instance of this object represents a device that is tracked such as a controller or anchor point. HMDs aren't represented here as they are fully handled internally. As controllers are turned on and the AR/VR interface detects them instances of this object are automatically added to this list of active tracking objects accessible through the ARVRServer The ARVRController and ARVRAnchor both consume objects of this type and should be the objects you use in game. The positional trackers are just the under the hood objects that make this all work and are mostly exposed so GDNative based interfaces can interact with them.