struct property
Describes the raw memory layout, construction, and pointer representation of this struct type.
Implementation
static final StructType<ModelAnimationD> struct = .new(
factory: ModelAnimationD.new,
layout: .aligned<ModelAnimationField>({
.name: RArray(RChar(), BASE_nameLength), // Animation name
.boneCount: RInt(), // Number of bones (per pose)
.keyframeCount: RInt(), // Number of animation key frames
.keyframePoses: RPointer(RPointer(RStruct(TransformD.struct))), // Animation sequence keyframe poses [keyframe][pose]
}),
);