RaylibQuaternionExtFlatNative class

Inheritance

Properties

hashCode → int
The hash code for this object.
no setterinherited
rl → Raylib
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
Temp → RaylibTemp<RaylibBase>
See RaylibTemp.
no setterinherited

Methods

debug(bool v) → void
Enables or disables debug logging for this module.
inherited
debugError(String message) → void
Logs message at error level if debug is enabled and message passes all filters.
inherited
debugFilter(bool filter(String)) → void
Adds a predicate that gates debug output. Only messages satisfying at least one filter are logged.
inherited
debugInfo(String message) → void
Logs message at info level if debug is enabled and message passes all filters.
inherited
debugTime(bool v) → void
Enables or disables per-call timing output alongside debug logs.
inherited
debugWarn(String message) → void
Logs message at warn level if debug is enabled and message passes all filters.
inherited
disableSync<T>(T f()) → T
Executes f with RaylibTemp syncing temporarily disabled, restoring the previous sync state afterward.
inherited
dispose() → void
Calls all registered onDispose callbacks and clears them.
inherited
disposeStructWithOpFreed<D extends RaylibStruct<D>>(D struct, void fn(StructPointer<D> ptr)) → void
Disposes struct, invokes fn with its underlying pointer, and then frees the temporary allocation backing the pointer, if any.
inherited
disposeStructWithOpUnslotted<D extends RaylibStruct<D>>(D struct, void fn(StructPointer<D> ptr)) → void
Disposes struct, invokes fn with its underlying pointer, and then unslots the temporary allocation backing the pointer, if any.
inherited
load() → void
Override to perform one-time module initialization.
inherited
logError(Object? message) → void
inherited
logInfo(Object? message) → void
inherited
logWarn(Object? message) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onDispose(void fn()) → void
Registers fn to be called when this module is disposed.
inherited
QuaternionAdd(dynamic q1, dynamic q2) → dynamic
Add two quaternions
override
QuaternionAddValue(dynamic q, double add) → dynamic
Add quaternion and double value
override
QuaternionCubicHermiteSpline(dynamic q1, dynamic outTangent1, dynamic q2, dynamic inTangent2, double t) → dynamic
Calculate quaternion cubic spline interpolation using Cubic Hermite Spline algorithm as described in the GLTF 2.0 specification: https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#interpolation-cubic
override
QuaternionDivide(dynamic q1, dynamic q2) → dynamic
Divide two quaternions
override
QuaternionEquals(dynamic p, dynamic q) → bool
Check whether two given quaternions are almost equal
override
QuaternionFromAxisAngle(dynamic axis, double angle) → dynamic
Get rotation quaternion for an angle and axis
override
QuaternionFromEuler(double pitch, double yaw, double roll) → dynamic
Get the quaternion equivalent to Euler angles
override
QuaternionFromMatrix(dynamic mat) → dynamic
Get a quaternion for a given rotation matrix
override
QuaternionFromVector3ToVector3(dynamic from, dynamic to) → dynamic
Calculate quaternion based on the rotation from one vector to another
override
QuaternionIdentity() → dynamic
Get identity quaternion
override
QuaternionInvert(dynamic q) → dynamic
Invert provided quaternion
override
QuaternionLength(dynamic q) → double
Computes the length of a quaternion
override
QuaternionLerp(dynamic q1, dynamic q2, double amount) → dynamic
Calculate linear interpolation between two quaternions
override
QuaternionMultiply(dynamic q1, dynamic q2) → dynamic
Calculate two quaternion multiplication
override
QuaternionNlerp(dynamic q1, dynamic q2, double amount) → dynamic
Calculate slerp-optimized interpolation between two quaternions
override
QuaternionNormalize(dynamic q) → dynamic
Normalize provided quaternion
override
QuaternionScale(dynamic q, double mul) → dynamic
Scale quaternion by double value
override
QuaternionSlerp(dynamic q1, dynamic q2, double amount) → dynamic
Calculates spherical linear interpolation between two quaternions
override
QuaternionSubtract(dynamic q1, dynamic q2) → dynamic
Subtract two quaternions
override
QuaternionSubtractValue(dynamic q, double sub) → dynamic
Subtract quaternion and double value
override
QuaternionToAxisAngle(dynamic q, StructPointer outAxis, MemoryPointer<RFloat> outAngle) → void
Get the rotation angle and axis for a given quaternion
override
QuaternionToEuler(dynamic q) → dynamic
Get the Euler angles equivalent to quaternion (roll, pitch, yaw)
override
QuaternionToMatrix(dynamic q) → dynamic
Get a matrix for a given quaternion
override
QuaternionTransform(dynamic q, dynamic mat) → dynamic
Transform a quaternion given a transformation matrix
override
run<T>(String name(), T f()) → T
Executes f, logging its label (and optionally timing it) when debug is enabled and the label passes all filters.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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