ModelSkeletonD constructor

ModelSkeletonD({
  1. StructPointer<ModelSkeletonD>? op,
  2. int? boneCount,
  3. List<BoneInfoD>? bones,
  4. List<TransformD>? bindPose,
})

Implementation

ModelSkeletonD({
  super.op,
  int? boneCount,
  List<BoneInfoD>? bones,
  List<TransformD>? bindPose,
}) : _boneCount = boneCount ?? bones?.length ?? 0 {
  _bones = field_bones.live(() => op, bones ?? []);
  _bindPose = field_bindPose.live(() => op, bindPose ?? []);
}