Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Mesh render state structure.
| Name | FGizmoElementMeshRenderStateAttributes |
| Type | struct |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoElementRenderState.h |
| Include Path | #include "BaseGizmos/GizmoElementRenderState.h" |
Syntax
USTRUCT ()
struct FGizmoElementMeshRenderStateAttributes
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HoverMaterial | FGizmoElementMaterialAttribute | Hover material. | BaseGizmos/GizmoElementRenderState.h | |
| HoverVertexColor | FGizmoElementColorAttribute | Hover mesh vertex color. | BaseGizmos/GizmoElementRenderState.h | |
| InteractMaterial | FGizmoElementMaterialAttribute | Interact material. | BaseGizmos/GizmoElementRenderState.h | |
| InteractVertexColor | FGizmoElementColorAttribute | Interact mesh vertex color. | BaseGizmos/GizmoElementRenderState.h | |
| Material | FGizmoElementMaterialAttribute | Default material. | BaseGizmos/GizmoElementRenderState.h | |
| VertexColor | FGizmoElementColorAttribute | Mesh vertex color. | BaseGizmos/GizmoElementRenderState.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const UMaterialInterface * GetMaterial
(
EGizmoElementInteractionState InteractionState |
Returns the material corresponding to the input interaction state. | BaseGizmos/GizmoElementRenderState.h | |
FLinearColor GetVertexColor
(
EGizmoElementInteractionState InteractionState |
Returns mesh vertex color. | BaseGizmos/GizmoElementRenderState.h | |
void Update
(
FGizmoElementMeshRenderStateAttributes& InChildAttributes |
Update this mesh render state based on a child mesh render state attribute. | BaseGizmos/GizmoElementRenderState.h |