RaylibMatrixExtensionBase<R extends RaylibBase, MatrixStructType extends MatrixBase<MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType> , QuaternionStructType extends QuaternionBase<QuaternionStructType, MatrixStructType, Vector3StructType, Vector4StructType> , RectangleStructType extends RectangleBase<RectangleStructType> , Vector3StructType extends Vector3Base<Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType> , Vector4StructType extends Vector4Base<Vector4StructType, QuaternionStructType, MatrixStructType, Vector3StructType> > class
abstract
Exposes Raylib's matrix math API as module-level functions by delegating to the corresponding MatrixBase methods/factories. Exists purely for Raylib API symmetry.
- Inheritance
-
- Object
- RaylibModule<
R> - RaylibMatrixExtensionBase
Constructors
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
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 RaylibTempBase syncing temporarily disabled, restoring the previous sync state afterward.inherited -
dispose(
) → void -
Calls all registered onDispose callbacks and clears them.
inherited
-
doLoad(
) → void -
Ensures load is called exactly once, regardless of how many times doLoad is invoked.
inherited
-
load(
) → void -
Override to perform one-time module initialization. Called by doLoad.
inherited
-
logError(
Object? message) → void -
inherited
-
logInfo(
Object? message) → void -
inherited
-
logWarn(
Object? message) → void -
inherited
-
MatrixAdd(
MatrixStructType left, MatrixStructType right) → MatrixStructType -
MatrixDecompose(
MatrixStructType mat) → (Vector3StructType, QuaternionStructType, Vector3StructType) -
MatrixDeterminant(
MatrixStructType mat) → double -
MatrixFrustum(
double left, double right, double bottom, double top, double nearPlane, double farPlane) → MatrixStructType -
MatrixIdentity(
) → MatrixStructType -
MatrixInvert(
MatrixStructType mat) → MatrixStructType -
MatrixLookAt(
Vector3StructType eye, Vector3StructType target, Vector3StructType up) → MatrixStructType -
MatrixMultiply(
MatrixStructType left, MatrixStructType right) → MatrixStructType -
MatrixOrtho(
double left, double right, double bottom, double top, double nearPlane, double farPlane) → MatrixStructType -
MatrixPerspective(
double fovY, double aspect, double nearPlane, double farPlane) → MatrixStructType -
MatrixRotate(
Vector3StructType axis, double angle) → MatrixStructType -
MatrixRotateX(
double angle) → MatrixStructType -
MatrixRotateXYZ(
Vector3StructType angle) → MatrixStructType -
MatrixRotateY(
double angle) → MatrixStructType -
MatrixRotateZ(
double angle) → MatrixStructType -
MatrixRotateZYX(
Vector3StructType angle) → MatrixStructType -
MatrixScale(
double x, double y, double z) → MatrixStructType -
MatrixSubtract(
MatrixStructType left, MatrixStructType right) → MatrixStructType -
MatrixTrace(
MatrixStructType mat) → double -
MatrixTranslate(
double x, double y, double z) → MatrixStructType -
MatrixTranspose(
MatrixStructType mat) → MatrixStructType -
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 -
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