RaylibVector4ExtFlatNative class
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(Vector4D v1, Vector4D v2)
→ Vector4D
-
Add two vectors
override
-
Vector4AddValue(Vector4D v, double add)
→ Vector4D
-
Add value to vector components
override
-
Vector4Distance(Vector4D v1, Vector4D v2)
→ double
-
Calculate distance between two vectors
override
-
Vector4DistanceSqr(Vector4D v1, Vector4D v2)
→ double
-
Calculate square distance between two vectors
override
-
Vector4Divide(Vector4D v1, Vector4D v2)
→ Vector4D
-
Divide vector by vector
override
-
Vector4DotProduct(Vector4D v1, Vector4D v2)
→ double
-
Vectors dot product
override
-
Vector4Equals(Vector4D p, Vector4D q)
→ bool
-
Check whether two given vectors are almost equal
override
-
Vector4Invert(Vector4D v)
→ Vector4D
-
Invert the given vector
override
-
Vector4Length(Vector4D v)
→ double
-
Vector length
override
-
Vector4LengthSqr(Vector4D v)
→ double
-
Vector square length
override
-
Vector4Lerp(Vector4D v1, Vector4D v2, double amount)
→ Vector4D
-
Calculate linear interpolation between two vectors
override
-
Vector4Max(Vector4D v1, Vector4D v2)
→ Vector4D
-
Get max value for each pair of components
override
-
Vector4Min(Vector4D v1, Vector4D v2)
→ Vector4D
-
Get min value for each pair of components
override
-
Vector4MoveTowards(Vector4D v, Vector4D target, double maxDistance)
→ Vector4D
-
Move Vector towards target
override
-
Vector4Multiply(Vector4D v1, Vector4D v2)
→ Vector4D
-
Multiply vector by vector
override
-
Vector4Negate(Vector4D v)
→ Vector4D
-
Negate vector
override
-
Vector4Normalize(Vector4D v)
→ Vector4D
-
Normalize provided vector
override
-
Vector4One()
→ Vector4D
-
Get vector one
override
-
Vector4Scale(Vector4D v, double scale)
→ Vector4D
-
Scale vector components by value (multiply)
override
-
Vector4Subtract(Vector4D v1, Vector4D v2)
→ Vector4D
-
Substract vectors
override
-
Vector4SubtractValue(Vector4D v, double add)
→ Vector4D
-
Substract value from vector components
override
-
Vector4Zero()
→ Vector4D
-
Get vector zero
override