Arma Reforger Explorer
1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
|
Go to the source code of this file.
Data Structures | |
class | SCR_EditableEntityMaterialChildComponentClass |
Functions | |
SCR_EditableEntityMaterialChildComponentClass SCR_EditableEntityBaseChildComponentClass | Attribute ("", UIWidgets.ResourcePickerThumbnail, "", "emat")] private ResourceName m_DefaultMaterial |
Change material based on specific states. More... | |
protected void | SetMaterial (ResourceName material) |
override void | EOnStateChanged (EEditableEntityState states, EEditableEntityState changedState, bool toSet) |
override void | OnPostInit (IEntity owner) |
Editable Mine. More... | |
Variables | |
private ResourceName | m_StateMaterial |
override void EOnStateChanged | ( | EEditableEntityState | states, |
EEditableEntityState | changedState, | ||
bool | toSet | ||
) |
Event called every time state of editable entity changes.
[in] | states | currently active states |
[in] | changedState | changed state |
[in] | toSet | true if the state was enabled, false if it was disabled |
Definition at line 44 of file SCR_EditableEntityMaterialChildComponent.c.
protected void SetMaterial | ( | ResourceName | material | ) |
Definition at line 21 of file SCR_EditableEntityMaterialChildComponent.c.
private ResourceName m_StateMaterial |
Definition at line 18 of file SCR_EditableEntityMaterialChildComponent.c.