RaylibQuaternionExtDart<R extends RaylibBase> class
Exposes Raylib's quaternion math API as module-level functions by delegating to the corresponding Quaternion methods/factories. Exists purely for Raylib API symmetry.
- Inheritance
-
- Object
- RaylibModule<
R> - RaylibQuaternionExtDart
Constructors
- RaylibQuaternionExtDart(R rl)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- rl → R
-
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
messageat error level if debug is enabled andmessagepasses 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
messageat info level if debug is enabled andmessagepasses all filters.inherited -
debugTime(
bool v) → void -
Enables or disables per-call timing output alongside debug logs.
inherited
-
debugWarn(
String message) → void -
Logs
messageat warn level if debug is enabled andmessagepasses all filters.inherited -
disableSync<
T> (T f()) → T -
Executes
fwith 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, invokesfnwith 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, invokesfnwith 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
fnto be called when this module is disposed.inherited -
QuaternionAdd(
Quaternion q1, Quaternion q2) → Quaternion - See Quaternion.add.
-
QuaternionAddValue(
Quaternion q, double add) → Quaternion - See Quaternion.addValue.
-
QuaternionCubicHermiteSpline(
Quaternion q1, Quaternion outTangent1, Quaternion q2, Quaternion inTangent2, double t) → Quaternion - See Quaternion.cubicHermiteSpline.
-
QuaternionDivide(
Quaternion q1, Quaternion q2) → Quaternion - See Quaternion.div.
-
QuaternionEquals(
Quaternion p, Quaternion q) → bool - See Quaternion.equals.
-
QuaternionFromAxisAngle(
Vector3 axis, double angle) → Quaternion -
See
QuaternionD.fromAxisAngle. -
QuaternionFromEuler(
double pitch, double yaw, double roll) → Quaternion -
See
QuaternionD.fromEuler. -
QuaternionFromMatrix(
Matrix mat) → Quaternion -
See
QuaternionD.fromMatrix. -
QuaternionFromVector3ToVector3(
Vector3 from, Vector3 to) → Quaternion -
See
QuaternionD.fromVector3ToVector3. -
QuaternionIdentity(
) → Quaternion -
See
QuaternionD.identity. -
QuaternionInvert(
Quaternion q) → Quaternion - See Quaternion.invert.
-
QuaternionLength(
Quaternion q) → double - See Quaternion.length.
-
QuaternionLerp(
Quaternion q1, Quaternion q2, double amount) → Quaternion - See Quaternion.lerp.
-
QuaternionMultiply(
Quaternion q1, Quaternion q2) → Quaternion - See Quaternion.mul.
-
QuaternionNlerp(
Quaternion q1, Quaternion q2, double amount) → Quaternion - See Quaternion.nLerp.
-
QuaternionNormalize(
Quaternion q) → Quaternion - See Quaternion.normalize.
-
QuaternionScale(
Quaternion q, double mul) → Quaternion - See Quaternion.scale.
-
QuaternionSlerp(
Quaternion q1, Quaternion q2, double amount) → Quaternion - See Quaternion.sLerp.
-
QuaternionSubtract(
Quaternion q1, Quaternion q2) → Quaternion - See Quaternion.sub.
-
QuaternionSubtractValue(
Quaternion q, double sub) → Quaternion - See Quaternion.subValue.
-
QuaternionToAxisAngle(
Quaternion q) → (Vector3, double) - See Quaternion.toAxisAngle.
-
QuaternionToEuler(
Quaternion q) → Vector3 - See Quaternion.toEuler.
-
QuaternionToMatrix(
Quaternion q) → Matrix - See Quaternion.toMatrix.
-
QuaternionTransform(
Quaternion q, Matrix mat) → Quaternion - See Quaternion.transform.
-
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