RaylibVector3Ext class

Inheritance

Constructors

RaylibVector3Ext(Raylib rl)

Properties

$ → RaylibTemp<RaylibBase>
See RaylibTemp.
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
rl → Raylib
finalinherited
rn → String
Emscripten cwrap return type for anything other than structs and void.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
rv → Null
Emscripten cwrap return type for functions returning void.
finalinherited
Vector3Add ↔ WF3<void>
Add two vectors
latefinal
Vector3AddValue ↔ WF3<void>
Add vector and double value
latefinal
Vector3Angle ↔ WF2<double>
Calculate angle between two vectors
latefinal
Vector3Barycenter ↔ WF5<void>
Compute barycenter coordinates (u, v, w) for point p with respect to triangle (a, b, c)
latefinal
Vector3Clamp ↔ WF4<void>
Clamp the components of the vector between min and max values specified by the given vectors
latefinal
Vector3ClampValue ↔ WF4<void>
Clamp the magnitude of the vector between two values
latefinal
Vector3CrossProduct ↔ WF3<void>
Calculate two vectors cross product
latefinal
Vector3CubicHermite ↔ WF6<void>
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
latefinal
Vector3Distance ↔ WF2<double>
Calculate distance between two vectors
latefinal
Vector3DistanceSqr ↔ WF2<double>
Calculate square distance between two vectors
latefinal
Vector3Divide ↔ WF3<void>
Divide vector by vector
latefinal
Vector3DotProduct ↔ WF2<double>
Calculate two vectors dot product
latefinal
Vector3Equals ↔ WF2<bool>
Check whether two given vectors are almost equal
latefinal
Vector3Invert ↔ WF2<void>
Invert the given vector
latefinal
Vector3Length ↔ WF1<double>
Calculate vector length
latefinal
Vector3LengthSqr ↔ WF1<double>
Calculate vector square length
latefinal
Vector3Lerp ↔ WF4<void>
Calculate linear interpolation between two vectors
latefinal
Vector3Max ↔ WF3<void>
Get max value for each pair of components
latefinal
Vector3Min ↔ WF3<void>
Get min value for each pair of components
latefinal
Vector3MoveTowards ↔ WF4<void>
Move Vector towards target
latefinal
Vector3Multiply ↔ WF3<void>
Multiply vector by vector
latefinal
Vector3Negate ↔ WF2<void>
Negate provided vector (invert direction)
latefinal
Vector3Normalize ↔ WF2<void>
Normalize provided vector
latefinal
Vector3One ↔ WF1<void>
Vector with components value 1.0f
latefinal
Vector3OrthoNormalize ↔ WF2<void>
Orthonormalize provided vectors Makes vectors normalized and orthogonal to each other Gram-Schmidt function implementation
latefinal
Vector3Perpendicular ↔ WF2<void>
Calculate one vector perpendicular vector
latefinal
Vector3Project ↔ WF3<void>
Calculate the projection of the vector v1 on to v2
latefinal
Vector3Reflect ↔ WF3<void>
Calculate reflected vector to normal
latefinal
Vector3Refract ↔ WF4<void>
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
latefinal
Vector3Reject ↔ WF3<void>
Calculate the rejection of the vector v1 on to v2
latefinal
Vector3RotateByAxisAngle ↔ WF4<void>
Rotates a vector around an axis
latefinal
Vector3RotateByQuaternion ↔ WF3<void>
Transform a vector by quaternion rotation
latefinal
Vector3Scale ↔ WF3<void>
Multiply vector by scalar
latefinal
Vector3Subtract ↔ WF3<void>
Subtract two vectors
latefinal
Vector3SubtractValue ↔ WF3<void>
Subtract vector by double value
latefinal
Vector3ToFloatV ↔ WF2<void>
Get Vector3 as float array
latefinal
Vector3Transform ↔ WF3<void>
Transforms a Vector3 by a given Matrix
latefinal
Vector3Unproject ↔ WF4<void>
Projects a Vector3 from screen space into object space
latefinal
Vector3Zero ↔ WF1<void>
Vector with components value 0.0f
latefinal

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
dwrap0<R>(String name) → WF0<R>
Binds a cwraped C function taking 0 arguments and returning a plain (non-struct) value.
inherited
dwrap1<R>(String name) → WF1<R>
Binds a cwraped C function taking 1 argument and returning a plain (non-struct) value.
inherited
dwrap2<R>(String name) → WF2<R>
Binds a cwraped C function taking 2 arguments and returning a plain (non-struct) value.
inherited
dwrap3<R>(String name) → WF3<R>
Binds a cwraped C function taking 3 arguments and returning a plain (non-struct) value.
inherited
dwrap4<R>(String name) → WF4<R>
Binds a cwraped C function taking 4 arguments and returning a plain (non-struct) value.
inherited
dwrap5<R>(String name) → WF5<R>
Binds a cwraped C function taking 5 arguments and returning a plain (non-struct) value.
inherited
dwrap6<R>(String name) → WF6<R>
Binds a cwraped C function taking 6 arguments and returning a plain (non-struct) value.
inherited
dwrap7<R>(String name) → WF7<R>
Binds a cwraped C function taking 7 arguments and returning a plain (non-struct) value.
inherited
dwrap8<R>(String name) → WF8<R>
Binds a cwraped C function taking 8 arguments and returning a plain (non-struct) value.
inherited
dwrap9<R>(String name) → WF9<R>
Binds a cwraped C function taking 9 arguments and returning a plain (non-struct) value.
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
pwrap0<X extends RType>(String name) → WF0<WasmMemoryPointer<X>>
Binds a cwraped C function taking 0 arguments and returning a pointer, wrapped as WasmMemoryPointer<X>.
inherited
pwrap1<X extends RType>(String name) → WF1<WasmMemoryPointer<X>>
Binds a cwraped C function taking 1 argument and returning a pointer, wrapped as WasmMemoryPointer<X>.
inherited
pwrap2<X extends RType>(String name) → WF2<WasmMemoryPointer<X>>
Binds a cwraped C function taking 2 arguments and returning a pointer, wrapped as WasmMemoryPointer<X>.
inherited
pwrap3<X extends RType>(String name) → WF3<WasmMemoryPointer<X>>
Binds a cwraped C function taking 3 arguments and returning a pointer, wrapped as WasmMemoryPointer<X>.
inherited
pwrap4<X extends RType>(String name) → WF4<WasmMemoryPointer<X>>
Binds a cwraped C function taking 4 arguments and returning a pointer, wrapped as WasmMemoryPointer<X>.
inherited
pwrap5<X extends RType>(String name) → WF5<WasmMemoryPointer<X>>
Binds a cwraped C function taking 5 arguments and returning a pointer, wrapped as WasmMemoryPointer<X>.
inherited
pwrap6<X extends RType>(String name) → WF6<WasmMemoryPointer<X>>
Binds a cwraped C function taking 6 arguments and returning a pointer, wrapped as WasmMemoryPointer<X>.
inherited
pwrap7<X extends RType>(String name) → WF7<WasmMemoryPointer<X>>
Binds a cwraped C function taking 7 arguments and returning a pointer, wrapped as WasmMemoryPointer<X>.
inherited
pwrap8<X extends RType>(String name) → WF8<WasmMemoryPointer<X>>
Binds a cwraped C function taking 8 arguments and returning a pointer, wrapped as WasmMemoryPointer<X>.
inherited
pwrap9<X extends RType>(String name) → WF9<WasmMemoryPointer<X>>
Binds a cwraped C function taking 9 arguments and returning a pointer, wrapped as WasmMemoryPointer<X>.
inherited
qwrap0<X extends RaylibStruct<X>>(String name) → WF0<StructPointer<X>>
Binds a cwraped C function taking 0 arguments and returning a struct pointer, wrapped as StructPointer<X>.
inherited
qwrap1<X extends RaylibStruct<X>>(String name) → WF1<StructPointer<X>>
Binds a cwraped C function taking 1 argument and returning a struct pointer, wrapped as StructPointer<X>.
inherited
qwrap2<X extends RaylibStruct<X>>(String name) → WF2<StructPointer<X>>
Binds a cwraped C function taking 2 argument and returning a struct pointer, wrapped as StructPointer<X>.
inherited
qwrap3<X extends RaylibStruct<X>>(String name) → WF3<StructPointer<X>>
Binds a cwraped C function taking 3 argument and returning a struct pointer, wrapped as StructPointer<X>.
inherited
qwrap4<X extends RaylibStruct<X>>(String name) → WF4<StructPointer<X>>
Binds a cwraped C function taking 4 argument and returning a struct pointer, wrapped as StructPointer<X>.
inherited
qwrap5<X extends RaylibStruct<X>>(String name) → WF5<StructPointer<X>>
Binds a cwraped C function taking 5 argument and returning a struct pointer, wrapped as StructPointer<X>.
inherited
qwrap6<X extends RaylibStruct<X>>(String name) → WF6<StructPointer<X>>
Binds a cwraped C function taking 6 argument and returning a struct pointer, wrapped as StructPointer<X>.
inherited
qwrap7<X extends RaylibStruct<X>>(String name) → WF7<StructPointer<X>>
Binds a cwraped C function taking 7 argument and returning a struct pointer, wrapped as StructPointer<X>.
inherited
qwrap8<X extends RaylibStruct<X>>(String name) → WF8<StructPointer<X>>
Binds a cwraped C function taking 8 argument and returning a struct pointer, wrapped as StructPointer<X>.
inherited
qwrap9<X extends RaylibStruct<X>>(String name) → WF9<StructPointer<X>>
Binds a cwraped C function taking 9 argument and returning a struct pointer, wrapped as StructPointer<X>.
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
swrap0(String name) → WF1<void>
Binds a cwraped C function taking 0 arguments that returns a struct via the WASM structure-return (sret) convention.
inherited
swrap1(String name) → WF2<void>
Binds a cwraped C function taking 1 argument that returns a struct via the WASM structure-return (sret) convention.
inherited
swrap2(String name) → WF3<void>
Binds a cwraped C function taking 2 arguments that returns a struct via the WASM structure-return (sret) convention.
inherited
swrap3(String name) → WF4<void>
Binds a cwraped C function taking 3 arguments that returns a struct via the WASM structure-return (sret) convention.
inherited
swrap4(String name) → WF5<void>
Binds a cwraped C function taking 4 arguments that returns a struct via the WASM structure-return (sret) convention.
inherited
swrap5(String name) → WF6<void>
Binds a cwraped C function taking 5 arguments that returns a struct via the WASM structure-return (sret) convention.
inherited
swrap6(String name) → WF7<void>
Binds a cwraped C function taking 6 arguments that returns a struct via the WASM structure-return (sret) convention.
inherited
swrap7(String name) → WF8<void>
Binds a cwraped C function taking 7 arguments that returns a struct via the WASM structure-return (sret) convention.
inherited
swrap8(String name) → WF9<void>
Binds a cwraped C function taking 8 arguments that returns a struct via the WASM structure-return (sret) convention.
inherited
symbol<X extends RType>(String name) → WasmMemoryPointer<X>
Resolves a global symbol exported by the WASM module and wraps its address as a WasmMemoryPointer.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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