RaylibVector4ExtDart<R extends RaylibBase> class

Exposes Raylib's vector math API as module-level functions by delegating to the corresponding Vector4 methods/factories. Exists purely for Raylib API symmetry.

Inheritance

Constructors

RaylibVector4ExtDart(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 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
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
Vector4Add(Vector4 v1, Vector4 v2) → Vector4
See Vector4.add.
Vector4AddValue(Vector4 v, double add) → Vector4
See Vector4.addValue.
Vector4Distance(Vector4 v1, Vector4 v2) → double
See Vector4.distance.
Vector4DistanceSqr(Vector4 v1, Vector4 v2) → double
See Vector4.distanceSqr.
Vector4Divide(Vector4 v1, Vector4 v2) → Vector4
See Vector4.div.
Vector4DotProduct(Vector4 v1, Vector4 v2) → double
See Vector4.dotProduct.
Vector4Equals(Vector4 p, Vector4 q) → bool
See Vector4.equals.
Vector4Invert(Vector4 v) → Vector4
See Vector4.invert.
Vector4Length(Vector4 v) → double
See Vector4.length.
Vector4LengthSqr(Vector4 v) → double
See Vector4.lengthSqr.
Vector4Lerp(Vector4 v1, Vector4 v2, double amount) → Vector4
See Vector4.lerp.
Vector4Max(Vector4 v1, Vector4 v2) → Vector4
See Vector4.max.
Vector4Min(Vector4 v1, Vector4 v2) → Vector4
See Vector4.min.
Vector4MoveTowards(Vector4 v, Vector4 target, double maxDistance) → Vector4
See Vector4.moveTowards.
Vector4Multiply(Vector4 v1, Vector4 v2) → Vector4
See Vector4.mul.
Vector4Negate(Vector4 v) → Vector4
See Vector4.negate.
Vector4Normalize(Vector4 v) → Vector4
See Vector4.normalize.
Vector4One() → Vector4
See Vector4D.one.
Vector4Scale(Vector4 v, double scale) → Vector4
See Vector4.scale.
Vector4Subtract(Vector4 v1, Vector4 v2) → Vector4
See Vector4.sub.
Vector4SubtractValue(Vector4 v, double sub) → Vector4
See Vector4.subValue.
Vector4Zero() → Vector4
See Vector4D.zero.

Operators

operator ==(Object other) → bool
The equality operator.
inherited