ModelAnimationD class
ModelAnimation, contains a full animation sequence
- Inheritance
-
- Object
- RaylibStruct<
ModelAnimationD> - RaylibStructView<
ModelAnimationD> - ModelAnimationD
Constructors
-
ModelAnimationD({StructPointer<
ModelAnimationD> ? op}) - ModelAnimationD.zero()
-
factory
Properties
- $state → RaylibTempStructState
-
Per-instance allocation state tracking slot keys, disposal, and identity.
finalinherited
- boneCount → int
-
Number of bones (per pose)
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- keyframeCount → int
-
Number of animation key frames
no setter
-
keyframePoses
→ StructLiveListStructNested<
TransformD> -
no setter
- name → String
-
Animation name
no setter
- nameLength → int
-
Size of the native name buffer.
no setter
-
op
↔ StructPointer<
ModelAnimationD> ? -
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
- structIsDisposed → bool
-
Whether structMarkDisposed has been called on this instance.
no setterinherited
- structName → String
-
The Dart-side type name of this struct
no setterinherited
Methods
-
clone(
) → ModelAnimationD -
Returns a deep copy of this instance, preserving op if present.
inherited
-
copy(
) → ModelAnimationD -
Returns a deep copy of this instance without op.
inherited
-
getOp(
) → StructPointer< ModelAnimationD> -
Returns op, throwing a descriptive StateError if unavailable or this instance RaylibTempStructState.isDisposed.
inherited
-
getOpAndDispose(
) → StructPointer< ModelAnimationD> -
Returns op and immediately disposes this struct.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setDart(
ModelAnimationD o) → ModelAnimationD -
Copies the fields of
ointo this instance.inherited -
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
tempunderkeyas needed.inherited -
structMarkDisposed(
) → void -
Marks this instance as disposed and clears op.
inherited
-
structOnOp(
void callback(StructPointer< ModelAnimationD> p)) → void -
Calls
callbackwith op if it is set, otherwise no-ops.inherited -
structReadFrom(
MemoryPointer< RType> p) → void -
inherited
-
structSetTag(
String newTag) → ModelAnimationD -
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 -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- BASE_nameLength → int
-
Size of the native name buffer.
no setter
-
field_boneCount
→ StructValueField<
int, RInt> -
Field descriptor for boneCount.
final
-
field_keyframeCount
→ StructValueField<
int, RInt> -
Field descriptor for keyframeCount.
final
-
field_keyframePoses
→ StructPointerArrayField<
TransformD, RPointer< RStruct> > -
Field descriptor for keyframePoses.
final
-
field_name
→ StructStringValueField<
RTypeIntLike> -
Field descriptor for name.
final
-
struct
→ StructType<
ModelAnimationD> -
Describes the raw memory layout, construction, and pointer representation
of this struct type.
final
-
structLayout
→ StructLayout<
ModelAnimationField> -
Raw memory layout of this object.
final