Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/UGizmoElementBase
Description
Methods for managing render state attributes: Material, HoverMaterial, InteractMaterial, SelectMaterial, SubdueMaterial, VertexColor
State inheritance works as follows:
- Gizmo element state that is not set inherits from the corresponding state in the current render traversal.
- Gizmo element state that is set to override, will override any corresponding state in children. Set mesh render state material attribute.
| Name | SetMaterial |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementBase.h |
| Include Path | #include "BaseGizmos/GizmoElementBase.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/GizmoElementBase.cpp |
virtual void SetMaterial
(
TWeakObjectPtr < UMaterialInterface > InMaterial,
bool InOverridesChildState
)