RaylibMatrixExt class

Inheritance

Constructors

RaylibMatrixExt(Raylib rl)

Properties

$ → RaylibTemp<RaylibBase>
See RaylibTemp.
no setterinherited
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

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
MatrixAdd(MatrixC left, MatrixC right) → MatrixC
Add two matrices
MatrixCompose(Vector3C translation, QuaternionC rotation, Vector3C scale) → MatrixC
Compose a transformation matrix from rotational, translational and scaling components
MatrixDecompose(MatrixC mat, Pointer<Vector3C> translation, Pointer<QuaternionC> rotation, Pointer<Vector3C> scale) → void
Decompose a transformation matrix into its rotational, translational and scaling components and remove shear
MatrixDeterminant(MatrixC mat) → double
Compute matrix determinant
MatrixFrustum(double left, double right, double bottom, double top, double nearPlane, double farPlane) → MatrixC
Get perspective projection matrix
MatrixIdentity() → MatrixC
Get identity matrix
MatrixInvert(MatrixC mat) → MatrixC
Invert provided matrix
MatrixLookAt(Vector3C eye, Vector3C target, Vector3C up) → MatrixC
Get camera look-at matrix (view matrix)
MatrixMultiply(MatrixC left, MatrixC right) → MatrixC
Get two matrix multiplication
MatrixMultiplyValue(MatrixC left, double value) → MatrixC
Multiply matrix components by value
MatrixOrtho(double left, double right, double bottom, double top, double nearPlane, double farPlane) → MatrixC
Get orthographic projection matrix
MatrixPerspective(double fovY, double aspect, double nearPlane, double farPlane) → MatrixC
Get perspective projection matrix
MatrixRotate(Vector3C axis, double angle) → MatrixC
Create rotation matrix from axis and angle
MatrixRotateX(double angle) → MatrixC
Get x-rotation matrix
MatrixRotateXYZ(Vector3C angle) → MatrixC
Get xyz-rotation matrix
MatrixRotateY(double angle) → MatrixC
Get y-rotation matrix
MatrixRotateZ(double angle) → MatrixC
Get z-rotation matrix
MatrixRotateZYX(Vector3C angle) → MatrixC
Get zyx-rotation matrix
MatrixScale(double x, double y, double z) → MatrixC
Get scaling matrix
MatrixSubtract(MatrixC left, MatrixC right) → MatrixC
Subtract two matrices (left - right)
MatrixToFloatV(MatrixC mat) → float16C
Get float array of matrix data
MatrixTrace(MatrixC mat) → double
Get the trace of the matrix (sum of the values along the diagonal)
MatrixTranslate(double x, double y, double z) → MatrixC
Get translation matrix
MatrixTranspose(MatrixC mat) → MatrixC
Transposes provided matrix
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
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