setMaterialColor method

  1. @JSExport()
JSPromise<JSAny?> setMaterialColor(
  1. ThermionEntity entity,
  2. String meshName,
  3. int materialIndex,
  4. double r,
  5. double g,
  6. double b,
  7. double a,
)

Implementation

@JSExport()
JSPromise setMaterialColor(ThermionEntity entity, String meshName,
        int materialIndex, double r, double g, double b, double a) =>
    throw UnimplementedError();