Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos > API/Runtime/InteractiveToolsFramework/BaseGizmos/UGizmoElementBase
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementBase.h |
| Include | #include "BaseGizmos/GizmoElementBase.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/GizmoElementBase.cpp |
virtual void SetMaterial
(
TWeakObjectPtr< UMaterialInterface > InMaterial,
bool InOverridesChildState
)
Remarks
Methods for managing render state attributes: Material, HoverMaterial, InteractMaterial, 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.