DVTransform class final

A node's local transform: translation, rotation and scale.

Constructors

DVTransform({DVVec3 translation = DVVec3.zero, DVQuat rotation = DVQuat.identity, DVVec3 scale = DVVec3.one})

Properties

hashCode → int
The hash code for this object.
no setteroverride
matrix → DVMat4
no setter
rotation → DVQuat
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scale → DVVec3
final
translation → DVVec3
final

Methods

copyWith({DVVec3? translation, DVQuat? rotation, DVVec3? scale}) → DVTransform
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Properties

identity → DVTransform
final