UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FGizmoElementMaterialAttribute Struct Reference

#include <GizmoElementRenderState.h>

Public Member Functions

INTERACTIVETOOLSFRAMEWORK_API const UMaterialInterfaceGetMaterial () const
 
INTERACTIVETOOLSFRAMEWORK_API UMaterialInterfaceGetMaterial ()
 
INTERACTIVETOOLSFRAMEWORK_API void SetMaterial (TWeakObjectPtr< UMaterialInterface > InColor, bool InOverridesChildState=false)
 
INTERACTIVETOOLSFRAMEWORK_API void Reset ()
 
INTERACTIVETOOLSFRAMEWORK_API void UpdateState (const FGizmoElementMaterialAttribute &InChildMaterialAttribute)
 

Public Attributes

TWeakObjectPtr< UMaterialInterfaceValue = nullptr
 
bool bOverridesChildState = false
 

Member Function Documentation

◆ GetMaterial() [1/2]

UMaterialInterface * FGizmoElementMaterialAttribute::GetMaterial ( )

◆ GetMaterial() [2/2]

const UMaterialInterface * FGizmoElementMaterialAttribute::GetMaterial ( ) const

◆ Reset()

void FGizmoElementMaterialAttribute::Reset ( )

◆ SetMaterial()

void FGizmoElementMaterialAttribute::SetMaterial ( TWeakObjectPtr< UMaterialInterface InColor,
bool  InOverridesChildState = false 
)

◆ UpdateState()

void FGizmoElementMaterialAttribute::UpdateState ( const FGizmoElementMaterialAttribute InChildMaterialAttribute)

Member Data Documentation

◆ bOverridesChildState

bool FGizmoElementMaterialAttribute::bOverridesChildState = false

◆ Value

TWeakObjectPtr<UMaterialInterface> FGizmoElementMaterialAttribute::Value = nullptr

The documentation for this struct was generated from the following files: