setMaterialPropertyInt abstract method

Future setMaterialPropertyInt(
  1. ThermionEntity entity,
  2. String propertyName,
  3. int materialIndex,
  4. int value,
)

Sets the material property propertyName under material materialIndex for entity to value. entity must have a Renderable attached.

Implementation

Future setMaterialPropertyInt(
    ThermionEntity entity, String propertyName, int materialIndex, int value);