SkinSpec constructor

SkinSpec(
  1. LocalId id, {
  2. List<LocalId>? joints,
  3. required LocalId inverseBindMatrices,
  4. LocalId? skeleton,
  5. Map<String, Object?> unknown = const {},
})

Creates a skin with the given stable id.

Implementation

SkinSpec(
  this.id, {
  List<LocalId>? joints,
  required this.inverseBindMatrices,
  this.skeleton,
  this.unknown = const {},
}) : joints = joints ?? [];