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