SkeletonUtilsOptions constructor

SkeletonUtilsOptions({
  1. bool preserveBoneMatrix = true,
  2. bool preserveBonePositions = true,
  3. bool useTargetMatrix = false,
  4. bool useFirstFramePosition = false,
  5. int fps = 30,
  6. String hip = 'hip',
  7. Map<String, dynamic>? localOffsets,
  8. Map<String, dynamic>? names,
  9. double scale = 1,
  10. Vector3? hipPosition,
  11. Vector3? hipInfluence,
  12. String getBoneName(
    1. Bone
    )?,
  13. List? trim,
})

Implementation

SkeletonUtilsOptions({
  this.preserveBoneMatrix = true,
  this.preserveBonePositions = true,
  this.useTargetMatrix = false,
  this.useFirstFramePosition = false,
  this.fps = 30,
  this.hip = 'hip',
  this.localOffsets,
  Map<String,dynamic>? names,
  this.scale = 1,
  this.hipPosition,
  Vector3? hipInfluence,
  this.getBoneName,
  this.trim
}){
  this.names = names ?? {};
  this.hipInfluence = hipInfluence ??  Vector3( 1, 1, 1 );
}