Class: DetectedBodyPose
Defined in: src/world/humans/DetectedBodyPose.ts:69
Represents a single human body pose detected in physical space.
Inherits from THREE.Object3D to fit naturally into the Three.js scene graph,
positioning itself at the estimated hips/center of the tracked human.
Extends
Constructors
Constructor
new DetectedBodyPose(
poseId,landmarks,detection2DBoundingBox):DetectedBodyPose
Defined in: src/world/humans/DetectedBodyPose.ts:77
Creates an instance of DetectedBodyPose.
Parameters
poseId
number
A unique tracking identifier for this body pose.
landmarks
The list of raw and 3D-projected anatomical landmarks.
detection2DBoundingBox
The 2D bounding box of the person in normalized screen space.
Returns
DetectedBodyPose
Overrides
THREE.Object3D.constructor
Properties
detection2DBoundingBox
detection2DBoundingBox:
Box2
Defined in: src/world/humans/DetectedBodyPose.ts:80
The 2D bounding box of the person in normalized screen space.
landmarks
landmarks:
PoseLandmark[]
Defined in: src/world/humans/DetectedBodyPose.ts:79
The list of raw and 3D-projected anatomical landmarks.
poseId
poseId:
number
Defined in: src/world/humans/DetectedBodyPose.ts:78
A unique tracking identifier for this body pose.
Methods
getJointPosition()
getJointPosition(
name):Vector3|null
Defined in: src/world/humans/DetectedBodyPose.ts:97
Returns the 3D world space position of a specific joint/landmark in meters. Exposes both standard MediaPipe landmark mappings and composite VRM/humanoid landmarks.
Parameters
name
string
The name of the joint (standard or composite).
Returns
Vector3 | null
A clone of the 3D world space position vector, or null if the joint is undetected or unprojected.