setMaterialInstanceAt method

Future setMaterialInstanceAt(
  1. covariant MaterialInstance instance, {
  2. int? entity = null,
  3. int primitiveIndex = 0,
})

Sets the material instance for the primitive at primitiveIndex in entity.

If entity is null, the top-most parent for this asset will be used.

Implementation

Future setMaterialInstanceAt(covariant MaterialInstance instance,
    {int? entity = null, int primitiveIndex = 0}) {
  throw UnimplementedError();
}