Arma Reforger Explorer  1.1.0.42
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
SCR_EditableEntityMaterialChildComponent.c File Reference

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
 

Function Documentation

◆ EOnStateChanged()

override void EOnStateChanged ( EEditableEntityState  states,
EEditableEntityState  changedState,
bool  toSet 
)

Event called every time state of editable entity changes.

Parameters
[in]statescurrently active states
[in]changedStatechanged state
[in]toSettrue if the state was enabled, false if it was disabled

Definition at line 44 of file SCR_EditableEntityMaterialChildComponent.c.

◆ SetMaterial()

protected void SetMaterial ( ResourceName  material)

Definition at line 21 of file SCR_EditableEntityMaterialChildComponent.c.

Variable Documentation

◆ m_StateMaterial

private ResourceName m_StateMaterial

Definition at line 18 of file SCR_EditableEntityMaterialChildComponent.c.