Transform class
Transformation utilities.
Constructors
- Transform.new({Vector3? position, Quaternion? quaternion})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- position ↔ Vector3
-
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(
Vector3 worldPoint, [Vector3? result]) → Vector3 - Get a global point in local transform coordinates.
-
pointToWorld(
Vector3 localPoint, Vector3? result) → Vector3 - Get a local point in global transform coordinates.
-
toString(
) → String -
A string representation of this object.
inherited
-
vectorToWorld(
Vector3 localVector, [Vector3? result]) → Vector3
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
pointToLocalFrame(
Vector3 position, Quaternion quaternion, Vector3 worldPoint, [Vector3? result]) → Vector3 -
pointToWorldFrame(
Vector3 position, Quaternion quaternion, Vector3 localPoint, [Vector3? result]) → Vector3 -
vectorToLocalFrame(
Vector3 position, Quaternion quaternion, Vector3 worldVector, [Vector3? result]) → Vector3 -
vectorToWorldFrame(
Quaternion quaternion, Vector3 localVector, [Vector3? result]) → Vector3