CameraShakeOffset class Gameplay kit
Evaluated translational and rotational camera shake offsets.
Constructors
- CameraShakeOffset({required Vector3 translation, required Vector3 rotationEuler})
- Creates a camera shake offset.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- rotationEuler → Vector3
-
Rotational pitch, yaw, and roll angles in radians.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- translation → Vector3
-
Translational displacement offset in local camera units.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMatrix4(
) → Matrix4 - Converts this offset into a local transform matrix.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- zero → CameraShakeOffset
-
Returns a fresh zero-displacement offset instance.
no setter