Summary
Extension methods for
TransformComponent.
- Namespace
- StrideToolkit
.Engine - Base Types
-
- object
graph BT
Type-->Base0["object"]
Type["TransformExtensions"]
class Type type-node
Syntax
public static class TransformExtensions
Fields
| Name | Constant Value | Summary |
|---|---|---|
| WorldUp |
The default world up vector. The default is
Vector3.UnitY.
static
|
Methods
| Name | Value | Summary |
|---|---|---|
| Inverse |
Vector3 |
Performs a direction transformation using the inverse of the given
TransformComponent.WorldMatrix.
static
|
| Inverse |
void |
Performs a direction transformation using the inverse of the given
TransformComponent.WorldMatrix.
static
|
| Inverse |
Vector3 |
Performs a coordinate transformation using the inverse of the given
TransformComponent.WorldMatrix.
static
|
| Inverse |
void |
Performs a coordinate transformation using the inverse of the given
TransformComponent.WorldMatrix.
static
|
| Inverse |
Vector3 |
Performs a normal transformation using the inverse of the given
TransformComponent.WorldMatrix.
static
|
| Inverse |
void |
Performs a normal transformation using the inverse of the given
TransformComponent.WorldMatrix.
static
|
| LookAt |
void |
Sets the transforms rotation so it's forward vector points at the target.
The world up vector use is defined by
WorldUp.
static
|
| LookAt |
void |
Sets the transforms rotation so it's forward vector points at the target.
static
|
| LookAt |
void |
Sets the transforms rotation so it's forward vector points at the target.
static
|
| LookAt |
void |
Sets the transforms rotation so it's forward vector points at the target.
The world up vector use is defined by
WorldUp.
static
|
| LookAt |
void |
Sets the transforms rotation so it's forward vector points at the target.
The world up vector use is defined by
WorldUp.
static
|
| LookAt |
void |
Sets the transforms rotation so it's forward vector points at the target.
static
|
| LookAt |
void |
Sets the transforms rotation so it's forward vector points at the target.
static
|
| Rotate |
void |
Rotates the given
TransformComponent by the specified eulerAngles in the coordinate space defined by relativeTo.
static
|
| Rotate |
void |
Rotates the given
TransformComponent by the specified eulerAngles in the coordinate space defined by relativeTo.
static
|
| TransformDirection |
Vector3 |
Performs a direction transformation using the given
TransformComponent.WorldMatrix.
static
|
| TransformDirection |
void |
Performs a direction transformation using the given
TransformComponent.WorldMatrix.
static
|
| TransformPosition |
Vector3 |
Performs a coordinate transformation using the given
TransformComponent.WorldMatrix.
static
|
| TransformPosition |
void |
Performs a coordinate transformation using the given
TransformComponent.WorldMatrix.
static
|
| TransformVector |
Vector3 |
Performs a normal transformation using the given
TransformComponent.WorldMatrix.
static
|
| TransformVector |
void |
Performs a normal transformation using the given
TransformComponent.WorldMatrix.
static
|
| Translate |
void |
Moves the given
TransformComponent position by the specified translation in the coordinate space defined by relativeTo.
static
|
| Translate |
void |
Moves the given
TransformComponent position by the specified translation in the coordinate space defined by relativeTo.
static
|
| Translate |
void |
Moves the given
TransformComponent position by the specified translation relative to the local coordinate space of another TransformComponent.
static
|
| Translate |
void |
Moves the given
TransformComponent position by the specified translation relative to the local coordinate space of another TransformComponent.
static
|
| UpdateTRSFromLocal |
void |
Updates the
TransformComponent.Position, TransformComponent.Rotation and TransformComponent.Scale members of the given TransformComponent.
static
|
