SkinSpec constructor

SkinSpec(
  1. LocalId id, {
  2. List<LocalId>? joints,
  3. required LocalId inverseBindMatrices,
  4. LocalId? skeleton,
})

Creates a skin with the given stable id.

Implementation

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