public class Sandbox.VR.TrackedObject
Represents a physically tracked VR object with a transform
Constructors
Showing 1 constructors
protected TrackedObject(Sandbox.VR.TrackedObject original)
No results match this filter.
Methods
Showing 2 methods
public virtual Sandbox.VR.TrackedObject <Clone>$()
protected virtual bool PrintMembers(System.Text.StringBuilder builder)
No results match this filter.
Properties
Showing 8 properties
public bool Sandbox.VR.TrackedObject.Active { get; set; }
Whether or not this object is currently accessible (if false, then the transform will not update).
public virtual Transform Sandbox.VR.TrackedObject.AimTransform { get; set; }
The aim pose transform of this tracked object in world space (pointing forward). Use this for aiming, pointing, or ray casting.
public Angles Sandbox.VR.TrackedObject.AngularVelocity { get; set; }
Local angular velocity of this object (degrees/s)
protected virtual System.Type Sandbox.VR.TrackedObject.EqualityContract { get; set; }
public Sandbox.VR.TrackedDeviceRole Sandbox.VR.TrackedObject.Role { get; set; }
Which part of the body this tracked object represents - waist, left shoulder, etc.
public virtual Transform Sandbox.VR.TrackedObject.Transform { get; set; }
The grip pose transform of this tracked object in world space (centered on palm/grip). This is the default transform used for hand positioning.
public Sandbox.VR.TrackedDeviceType Sandbox.VR.TrackedObject.Type { get; set; }
What type of object this is - tracker, controller, etc.
public Vector3 Sandbox.VR.TrackedObject.Velocity { get; set; }
Local velocity of this object.
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.VR |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.VR.TrackedObject |