MaterialSlots class abstract final

Where an entity's material file goes: its shape's Primitive3D.material, or — for a model — the file drawn for every one of its materials (* in ModelComponent.materials). What painting a material on, and picking one up, work through.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

assign(Entity entity, String path) → bool
Draws entity with the material file at path (empty for its own look again). False when it has nothing to draw it on.
holderOf(Entity entity) → Component?
What holds entity's material file — its shape, else its model — or null when it draws nothing a material file can go on.
materialOf(Entity entity) → String
The material file entity is drawn with; empty for its own look.