Struct AffineTransform
Namespace: UnityEngine.Animations.Rigging
Syntax
[Serializable]
public struct AffineTransform
Constructors
AffineTransform(Vector3, Quaternion)
Declaration
public AffineTransform(Vector3 t, Quaternion r)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | t | |
| Quaternion | r |
Fields
rotation
Declaration
public Quaternion rotation
Field Value
| Type | Description |
|---|---|
| Quaternion |
translation
Declaration
public Vector3 translation
Field Value
| Type | Description |
|---|---|
| Vector3 |
Properties
identity
Declaration
public static AffineTransform identity { get; }
Property Value
| Type | Description |
|---|---|
| AffineTransform |
Methods
Inverse()
Declaration
public AffineTransform Inverse()
Returns
| Type | Description |
|---|---|
| AffineTransform |
InverseMul(AffineTransform)
Declaration
public AffineTransform InverseMul(AffineTransform transform)
Parameters
| Type | Name | Description |
|---|---|---|
| AffineTransform | transform |
Returns
| Type | Description |
|---|---|
| AffineTransform |
InverseTransform(Vector3)
Declaration
public Vector3 InverseTransform(Vector3 p)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | p |
Returns
| Type | Description |
|---|---|
| Vector3 |
Set(Vector3, Quaternion)
Declaration
public void Set(Vector3 t, Quaternion r)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | t | |
| Quaternion | r |
Transform(Vector3)
Declaration
public Vector3 Transform(Vector3 p)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector3 | p |
Returns
| Type | Description |
|---|---|
| Vector3 |
Operators
Multiply(AffineTransform, AffineTransform)
Declaration
public static AffineTransform operator *(AffineTransform lhs, AffineTransform rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| AffineTransform | lhs | |
| AffineTransform | rhs |
Returns
| Type | Description |
|---|---|
| AffineTransform |
Multiply(AffineTransform, Quaternion)
Declaration
public static AffineTransform operator *(AffineTransform lhs, Quaternion rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| AffineTransform | lhs | |
| Quaternion | rhs |
Returns
| Type | Description |
|---|---|
| AffineTransform |
Multiply(AffineTransform, Vector3)
Declaration
public static Vector3 operator *(AffineTransform lhs, Vector3 rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| AffineTransform | lhs | |
| Vector3 | rhs |
Returns
| Type | Description |
|---|---|
| Vector3 |
Multiply(Quaternion, AffineTransform)
Declaration
public static AffineTransform operator *(Quaternion lhs, AffineTransform rhs)
Parameters
| Type | Name | Description |
|---|---|---|
| Quaternion | lhs | |
| AffineTransform | rhs |
Returns
| Type | Description |
|---|---|
| AffineTransform |