Transform class
Transformation utilities.
Constructors
- Transform({Vec3? position, Quaternion? quaternion})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- position ↔ Vec3
-
getter/setter pair
- quaternion ↔ Quaternion
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pointToLocal(
Vec3 worldPoint, [Vec3? result]) → Vec3 - Get a global point in local transform coordinates.
-
pointToWorld(
Vec3 localPoint, Vec3? result) → Vec3 - Get a local point in global transform coordinates.
-
toString(
) → String -
A string representation of this object.
inherited
-
vectorToWorld(
Vec3 localVector, [Vec3? result]) → Vec3
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
pointToLocalFrame(
Vec3 position, Quaternion quaternion, Vec3 worldPoint, [Vec3? result]) → Vec3 -
pointToWorldFrame(
Vec3 position, Quaternion quaternion, Vec3 localPoint, [Vec3? result]) → Vec3 -
vectorToLocalFrame(
Vec3 position, Quaternion quaternion, Vec3 worldVector, [Vec3? result]) → Vec3 -
vectorToWorldFrame(
Quaternion quaternion, Vec3 localVector, [Vec3? result]) → Vec3