Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementRenderState.h |
| Include | #include "BaseGizmos/GizmoElementRenderState.h" |
Syntax
struct FGizmoElementMaterialAttribute
Remarks
Material state attribute struct
Stores material state value, whether state is set and whether it overrides child state.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bOverridesChildState | True if this attribute overrides child state attributes. | |
| TWeakObjectPtr< UMaterialInterface > | Value | Material value. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const UMaterialInterface * | GetMaterial () |
Return the material value. | |
| void | Reset () |
Reset attribute to default values. | |
| void | SetMaterial
(
TWeakObjectPtr< UMaterialInterface > InColor, |
Set material value and override flag. | |
| void | UpdateState
(
const FGizmoElementMaterialAttribute& InChildMaterialAttribute |
Update this state based on a child state attribute. |