FingerJoint
Represents a finger joint.
Constructors
Name | Description |
---|---|
FingerJoint() | Creates a new FingerJoint object. |
FingerJoint(FingerJoint) | Creates a new FingerJoint object by copying the data from the specified finger joint. |
FingerJoint(FingerJointType, UnityEngine.Vector2, UnityEngine.Vector3, UnityEngine.Quaternion) | Creates a new FingerJoint object with the specified type, 2D position,3D position and 3D orientation of the finger joint. |
Properties
Name | Type | Description |
---|---|---|
Type | The type of the finger joint. | |
Position2D | The 2D position of the finger joint in pixels. | |
Position3D | The 3D position of the finger joint in meters. | |
Orientation | The 3D orientation of the joint. |
Methods
Name | Return Type | Description |
---|---|---|
ToString() | string | Converts the value of this instance to a string. |
Equals(Finger) | bool | Determines whether the specified Finger object is equal to the current Finger object. |
GetHashCode() | int | Returns a hash code for the current Finger object. |
Example
The example shows how to create a finger joint with the FingerJoint
class.
Create a finger joint with the specified 2D position and 3D position
Create a finger joint with the specified finger joint
Create an empty finger joint
Last updated