DeepAR Scripting API v5.6.9

Class: RigidPose

RigidPose

Rigid Pose.

Members

(readonly) detected :boolean

Boolean flag that indicates if the body is detected.
Type:
  • boolean

(readonly) eulerRotation :Vector3

Body pose Euler rotation.
Type:

(readonly) quaternionRotation :Vector4

Body pose rotation in quaternions.
Type:

(readonly) translation :Vector3

Body pose translation.
Type:

Methods

equal(rigidPose) → {bool}

Checks whether the Rigid Pose instances are same.
Parameters:
Name Type Description
rigidPose RigidPose Rigid Pose instance.
Returns:
True if same, false otherwise.
Type
bool

toString() → {string}

Gets the string representation of the Rigid Pose class.
Returns:
Rigid Pose class string representation.
Type
string
Example
// Outputs '[Rigid Pose]'