float3 class

Raylib's float3 struct holding 3 float values

Inheritance

Constructors

float3({StructPointer<float3>? op, List<double>? v})
float3.float3(num v0, num v1, num v2)
factory
float3.zero()
factory

Properties

$state → RaylibTempStructState
Per-instance allocation state tracking slot keys, disposal, and identity.
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
op ↔ StructPointer<float3>?
The C-owned or RaylibTemp-owned typed pointer for this struct, if any.
getter/setter pairinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
structName → String
The Dart-side type name of this struct
no setterinherited
v ↔ StructLiveList<double, RFloat>
getter/setter pair

Methods

clone() → float3
Returns a deep copy of this instance, preserving op if present.
override
copy() → float3
Returns a deep copy of this instance without op.
inherited
getOp() → StructPointer<float3>
Returns op, throwing a descriptive StateError if unavailable or this instance RaylibTempStructState.isDisposed.
inherited
getOpAndDispose() → StructPointer<float3>
Returns op and immediately disposes this struct.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setDart(float3 o) → float3
Copies the fields of o into this instance.
override
signature() → String
Returns a human-readable representation of this struct.
override
structAllocateInto(RaylibTemp<RaylibBase> temp, MemoryPointer<RType> p, String key) → void
Allocates nested pointers into temp under key as needed.
inherited
structDispose() → void
Marks this instance as disposed.
inherited
structOnOp(void callback(StructPointer<float3> p)) → void
Calls callback with op if it is set, otherwise no-ops.
inherited
structReadFrom(MemoryPointer<RType> p) → void
override
structSetTag(String newTag) → float3
Sets RaylibTempStructState.tag to newTag.
inherited
structSyncFromMemory() → void
Syncs all fields from the memory. Requires op.
inherited
structSyncToMemory() → void
Syncs all fields to the memory. Requires op.
inherited
structWriteInto(MemoryPointer<RType> p) → void
override
toArray() → List<double>
toString() → String
A string representation of this object.
inherited

Operators

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

Static Properties

field_v → StructValueField<List<double>, RArray<RFloat>>
Field descriptor for v.
final
struct → StructType<float3>
Describes the raw memory layout, construction, and pointer representation of this struct type.
final
structLayout → StructLayout<float3Field>
Raw memory layout of this object.
final