RaylibCameraModuleBase<R extends RaylibBase, Camera3DStructType extends Camera3DBase<Camera3DStructType, Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType>, MatrixStructType extends MatrixBase<MatrixStructType, Vector3StructType, QuaternionStructType, Vector4StructType>, QuaternionStructType extends QuaternionBase<QuaternionStructType, MatrixStructType, Vector3StructType, Vector4StructType>, Vector3StructType extends Vector3Base<Vector3StructType, MatrixStructType, QuaternionStructType, Vector4StructType>, Vector4StructType extends Vector4Base<Vector4StructType, QuaternionStructType, MatrixStructType, Vector3StructType>> class abstract

Backend-agnostic contract for the Raylib Camera module.

Concrete platform implementations mix in or extend this to provide the full Core API surface across different backends.

Inheritance

Constructors

RaylibCameraModuleBase(R rl)

Properties

hashCode int
The hash code for this object.
no setterinherited
RaylibDebugLabels RaylibCameraModuleDebugLabels
Debug label generator for this module's function calls.
final
rl → R
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

CameraMoveForward(Camera3DStructType camera, num distance, bool moveInWorldPlane) → void
Moves the camera in its forward direction by distance.
CameraMoveRight(Camera3DStructType camera, num distance, bool moveInWorldPlane) → void
Moves the camera target in its current right direction by distance.
CameraMoveToTarget(Camera3DStructType camera, num delta) → void
Moves camera closer to or further from its target by delta.
CameraMoveUp(Camera3DStructType camera, num distance) → void
Moves the camera in its up direction by distance.
CameraPitch(Camera3DStructType camera, num angle, bool lockView, bool rotateAroundTarget, bool rotateUp) → void
Rotates camera around its right vector by angle radians.
CameraRoll(Camera3DStructType camera, num angle) → void
Rotates camera around its forward vector by angle radians.
CameraYaw(Camera3DStructType camera, num angle, bool rotateAroundTarget) → void
Rotates camera around its up vector by angle radians.
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 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
GetCameraForward(Camera3DStructType camera) → Vector3StructType
Returns the forward vector (normalized) of camera.
GetCameraProjectionMatrix(Camera3DStructType camera, num aspect) → MatrixStructType
Returns the projection matrix for camera with the given aspect ratio.
GetCameraRight(Camera3DStructType camera) → Vector3StructType
Returns the right vector (normalized) of camera.
GetCameraUp(Camera3DStructType camera) → Vector3StructType
Returns the up vector (normalized) of camera.
GetCameraViewMatrix(Camera3DStructType camera) → MatrixStructType
Returns the view matrix for camera.
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
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