RaylibVector3ExtFlatNative class

Inheritance

Properties

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
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
Vector3Add(Vector3 v1, Vector3 v2) → Vector3
Add two vectors
override
Vector3AddValue(Vector3 v, double add) → Vector3
Add vector and double value
override
Vector3Angle(Vector3 v1, Vector3 v2) → double
Calculate angle between two vectors
override
Vector3Barycenter(Vector3 p, Vector3 a, Vector3 b, Vector3 c) → Vector3
Compute barycenter coordinates (u, v, w) for point p with respect to triangle (a, b, c)
override
Vector3Clamp(Vector3 v, Vector3 min, Vector3 max) → Vector3
Clamp the components of the vector between min and max values specified by the given vectors
override
Vector3ClampValue(Vector3 v, double min, double max) → Vector3
Clamp the magnitude of the vector between two values
override
Vector3CrossProduct(Vector3 v1, Vector3 v2) → Vector3
Calculate two vectors cross product
override
Vector3CubicHermite(Vector3 v1, Vector3 tangent1, Vector3 v2, Vector3 tangent2, double amount) → Vector3
Calculate cubic hermite interpolation between two vectors and their tangents as described in the GLTF 2.0 specification: https://registry.khronos.org/glTF/specs/2.0/glTF-2.0.html#interpolation-cubic
override
Vector3Distance(Vector3 v1, Vector3 v2) → double
Calculate distance between two vectors
override
Vector3DistanceSqr(Vector3 v1, Vector3 v2) → double
Calculate square distance between two vectors
override
Vector3Divide(Vector3 v1, Vector3 v2) → Vector3
Divide vector by vector
override
Vector3DotProduct(Vector3 v1, Vector3 v2) → double
Calculate two vectors dot product
override
Vector3Equals(Vector3 p, Vector3 q) → bool
Check whether two given vectors are almost equal
override
Vector3Invert(Vector3 v) → Vector3
Invert the given vector
override
Vector3Length(Vector3 v) → double
Calculate vector length
override
Vector3LengthSqr(Vector3 v) → double
Calculate vector square length
override
Vector3Lerp(Vector3 v1, Vector3 v2, double amount) → Vector3
Calculate linear interpolation between two vectors
override
Vector3Max(Vector3 v1, Vector3 v2) → Vector3
Get max value for each pair of components
override
Vector3Min(Vector3 v1, Vector3 v2) → Vector3
Get min value for each pair of components
override
Vector3MoveTowards(Vector3 v, Vector3 target, double maxDistance) → Vector3
Move Vector towards target
override
Vector3Multiply(Vector3 v1, Vector3 v2) → Vector3
Multiply vector by vector
override
Vector3Negate(Vector3 v) → Vector3
Negate provided vector (invert direction)
override
Vector3Normalize(Vector3 v) → Vector3
Normalize provided vector
override
Vector3One() → Vector3
Vector with components value 1.0f
override
Vector3OrthoNormalize(StructPointer<Vector3> v1, StructPointer<Vector3> v2) → void
Orthonormalize provided vectors Makes vectors normalized and orthogonal to each other Gram-Schmidt function implementation
override
Vector3Perpendicular(Vector3 v) → Vector3
Calculate one vector perpendicular vector
override
Vector3Project(Vector3 v1, Vector3 v2) → Vector3
Calculate the projection of the vector v1 on to v2
override
Vector3Reflect(Vector3 v, Vector3 normal) → Vector3
Calculate reflected vector to normal
override
Vector3Refract(Vector3 v, Vector3 n, double r) → Vector3
Compute the direction of a refracted ray v: normalized direction of the incoming ray n: normalized normal vector of the interface of two optical media r: ratio of the refractive index of the medium from where the ray comes to the refractive index of the medium on the other side of the surface
override
Vector3Reject(Vector3 v1, Vector3 v2) → Vector3
Calculate the rejection of the vector v1 on to v2
override
Vector3RotateByAxisAngle(Vector3 v, Vector3 axis, double angle) → Vector3
Rotates a vector around an axis
override
Vector3RotateByQuaternion(Vector3 v, Quaternion q) → Vector3
Transform a vector by quaternion rotation
override
Vector3Scale(Vector3 v, double scalar) → Vector3
Multiply vector by scalar
override
Vector3Subtract(Vector3 v1, Vector3 v2) → Vector3
Subtract two vectors
override
Vector3SubtractValue(Vector3 v, double sub) → Vector3
Subtract vector by double value
override
Vector3ToFloatV(Vector3 v) → float3
Get Vector3 as float array
override
Vector3Transform(Vector3 v, Matrix mat) → Vector3
Transforms a Vector3 by a given Matrix
override
Vector3Unproject(Vector3 source, Matrix projection, Matrix view) → Vector3
Projects a Vector3 from screen space into object space
override
Vector3Zero() → Vector3
Vector with components value 0.0f
override

Operators

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