Unigine.Plugins.LeapMotion.Arm Struct
LeapMotion plugin must be loaded.
This structure represents a forearm. All coordinates are relative to the origin of the Leap Motion coordinate system.
The Arm structure is declared as follows:
public struct Arm
{
public float width;
public int is_valid;
public vec3 direction;
public vec3 elbow_position;
public vec3 wrist_position;
public vec3 center;
public mat4 basis;
};
LeapMotionArm Class
Properties
float width#
The Width of the forearm, in meters.
vec3 elbow_position#
The Coordinates of the elbow position.
vec3 wrist_position#
The Coordinates of the wrist position.
vec3 center#
The Coordinates of the center of the forearm.
vec3 direction#
The Normalized direction in which the arm is pointing (from elbow to wrist).
mat4 basis#
The Orthonormal basis vectors for the arm bone as a Matrix.
int is_valid#
The 1 if the arm contains valid tracking data; otherwise, 0.
Members
Last update:
2022-12-14
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)