Struct JointFrame
A target in the space of a rigid body that will align with a corresponding target in the space of the other body to which it is joined.
Syntax
public struct JointFrame : IEquatable<JointFrame>
Constructors
Declaration
public JointFrame(RigidTransform transform)
Parameters
Type |
Name |
Description |
RigidTransform |
transform |
|
Fields
Axis
The bind pose orientation of the joint's x-axis in the space of its rigid body.
Declaration
Field Value
Identity
Declaration
public static readonly JointFrame Identity
Field Value
PerpendicularAxis
The bind pose orientation of the joint's y-axis in the space of its rigid body.
Declaration
public float3 PerpendicularAxis
Field Value
Position
The bind pose anchor or target position of the joint in the space of its rigid body.
Declaration
Field Value
Methods
Declaration
public RigidTransform AsRigidTransform()
Returns
Type |
Description |
RigidTransform |
|
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Equals(JointFrame)
Declaration
public bool Equals(JointFrame other)
Parameters
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
Declaration
public static implicit operator JointFrame(RigidTransform transform)
Parameters
Type |
Name |
Description |
RigidTransform |
transform |
|
Returns