TrackingSkeleton

altspace~ TrackingSkeleton

new TrackingSkeleton()

Represents a user's body. TrackingSkeleton should not be instantiated directly, instead it should be retrieved via altspace.getThreeJSTrackingSkeleton.

Extends

Members

trackingJoints :Object.<String, module:altspace~TrackingJoint>

A dictionary of tracking joints by joint name.

userData :Object

User data for this Object3D instance. If userData has an altspace property, it will be used to set extra properties on the object that are used by the Altspace renderer.

Properties:
Name Type Description
altspace THREE.Object3D~AltspaceFlags

Altspace-specific properties associated with this object.

Inherited From:

Methods

getJoint(bodyPart, sideopt, subIndexopt) → {module:altspace~TrackingJoint}

Gets a joint on the skeleton.

Parameters:
Name Type Attributes Default Description
bodyPart String

One of 'Eye, 'Head', 'Neck', 'Spine', 'Hips', 'UpperLeg', 'LowerLeg', 'Foot', 'Toes', 'Shoulder', 'UpperArm', 'LowerArm', 'Hand', 'Thumb', 'Index', 'Middle', 'Ring' or 'Pinky'.

side String <optional>
'Center'

One of 'Left', 'Center' or 'Right'.

subIndex Number <optional>
0

The index of a specific part of the join.

Type Definitions

ThreeJSCursorEvent

The ThreeJSCursorEvent interface represents events that occur due to the user interacting with three.js objects using the cursor

Properties:
Name Type Description
ray THREE.Ray

The ray that was used to project the cursor. Will often come from either the user's center eye or a motion controller they are holding.

point THREE.Vector3

The point in world space where the ray intersected an object.

bubbles Boolean

Whether this event will bubble up the three.js hierarchy. True for all ThreeJSCursorEvents. Roughly matches DOM bubbling (does not have a capture step).

target THREE.Object3D

The THREE.Object3D the event originally fired on.

currentTarget THREE.Object3D

The THREE.Object3D the event is currently firing on as it bubbles.

stopPropagation function

Allows the remaining event listeners for this event on this THREE.Object3D to fire and then stops.

stopImmediatePropagation function

Stops the firing of any more event listeners for this event.

Inherited From: