Astra Unity 2.6.6
Astra Unity Plugin
|
Results from loading a material More...
Public Member Functions | |
void | AttachMaterial (ItemBase ib) |
Creates a MaterialItem and attaches it to the gameobject from the passed in ItemBase. More... | |
Public Attributes | |
Material | unityMaterial |
The UnityMaterial which is wrapped by an attached MaterialItem. It is created as part of the loading process | |
MaterialItem | materialItem |
The created MaterialItem (only applicable after AttachMaterial is called) | |
Results from loading a material
|
inline |
Creates a MaterialItem and attaches it to the gameobject from the passed in ItemBase.
Note: this is automatically done for you if you specified a compoundItem on this class object and then fire Load
ib | Item to attach this material to |