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 FGizmoElementMeshRenderStateAttributes
Remarks
Mesh render state structure.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FGizmoElementMaterialAttribute | HoverMaterial | Hover material. | |
| FGizmoElementColorAttribute | HoverVertexColor | Hover mesh vertex color. | |
| FGizmoElementMaterialAttribute | InteractMaterial | Interact material. | |
| FGizmoElementColorAttribute | InteractVertexColor | Interact mesh vertex color. | |
| FGizmoElementMaterialAttribute | Material | Default material. | |
| FGizmoElementColorAttribute | VertexColor | Mesh vertex color. |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const UMaterialInterface * | GetMaterial
(
EGizmoElementInteractionState InteractionState |
Returns the material corresponding to the input interaction state. | |
| FLinearColor | GetVertexColor
(
EGizmoElementInteractionState InteractionState |
Returns mesh vertex color. | |
| void | Update
(
FGizmoElementMeshRenderStateAttributes& InChildAttributes |
Update this mesh render state based on a child mesh render state attribute. |