SkeletonUtilsOptions constructor
SkeletonUtilsOptions({
- bool preserveBoneMatrix = true,
- bool preserveBonePositions = true,
- bool useTargetMatrix = false,
- bool useFirstFramePosition = false,
- int fps = 30,
- String hip = 'hip',
- Map<
String, dynamic> ? localOffsets, - Map<
String, dynamic> ? names, - double scale = 1,
- Vector3? hipPosition,
- Vector3? hipInfluence,
- String getBoneName(
- Bone
- 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 );
}