TransformD class

Inheritance
Mixed-in types

Constructors

TransformD({Pointer<TransformC>? originalPointer, Vector3D? translation, QuaternionD? rotation, Vector3D? scale})
TransformD.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
originalPointer Pointer<TransformC>?
The C-owned or RaylibTemp-owned native pointer for this struct, if any.
getter/setter pairinherited
rotation QuaternionD
getter/setter pairoverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scale Vector3D
getter/setter pairoverride
structIsDisposed bool
Whether structMarkDisposed has been called on this instance.
no setterinherited
structName String
The Dart-side type name of this struct
no setterinherited
structRequiresOriginalPointer bool
Whether this struct requires an originalPointer to function correctly.
no setterinherited
translation Vector3D
getter/setter pairoverride

Methods

clone() TransformD
Returns a deep copy of this instance, preserving RaylibStructBase.originalPointer if present.
override
copy() TransformD
Returns a deep copy of this instance without RaylibStructBase.originalPointer.
inherited
getOriginalPointer() Pointer<TransformC>
Returns originalPointer, throwing a descriptive StateError if unavailable or this instance RaylibTempStructState.isDisposed.
inherited
getOriginalPointerAndDispose() Pointer<TransformC>
Returns originalPointer and immediately calls structMarkDisposed.
inherited
nativeGetIndexedArrayReference(Array<TransformC> p, int index) TransformC
override
nativeGetIndexedReference(Pointer<TransformC> p, int index) TransformC
override
nativeGetReference(Pointer<TransformC> p) TransformC
inherited
nativeReadFrom(TransformC p) → void
override
nativeWriteInto(TransformC p) → void
Writes all fields directly into the native struct reference p. For nested structs, use writeInto as well.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setD(TransformD o) TransformD
Copies the fields of o into this instance and returns this.
override
signature() String
Returns a human-readable representation of this struct's current field values.
inherited
structAllocateInto(RaylibTemp temp, Pointer<TransformC> p, String key) → void
Writes all fields into the native struct at p, allocating nested pointers into temp under key as needed.
inherited
structMarkDisposed() → void
Marks this instance as disposed and clears originalPointer.
inherited
structOnOp(void callback(Pointer<TransformC> p)) → void
Calls callback with originalPointer if it is set, otherwise no-ops.
inherited
structReadFrom(Pointer<TransformC> p) → void
Reads all fields from the memory at p.
inherited
structSetTag(String newTag) TransformD
Sets RaylibTempStructState.tag to newTag and returns this for chaining.
inherited
structSyncFromMemory() → void
Syncs all fields from the memory. Requires originalPointer.
inherited
structSyncInto(RaylibTemp temp, Pointer<TransformC> p, String key) → void
Syncs Dart-side fields into the already-allocated native pointer p.
inherited
structSyncToMemory() → void
Syncs all fields to the memory. Requires originalPointer.
inherited
structWriteInto(Pointer<TransformC> p) → void
Writes all fields into the memory at p.
inherited
toString() String
A string representation of this object.
inherited

Operators

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