struct property
Describes the raw memory layout, construction, and pointer representation of this struct type.
Implementation
static final StructType<ModelSkeletonD> struct = .new(
factory: ModelSkeletonD.new,
layout: .aligned<ModelSkeletonField>({
.boneCount: RInt(), // Number of bones
.bones: RPointer(RStruct(BoneInfoD.struct)), // Bones information (skeleton)
.bindPose: RPointer(RStruct(TransformD.struct)), // Bones base transformation (Transform[])
}),
);