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

#include <MaterialInstanceBasePropertyOverrides.h>

Public Member Functions

ENGINE_API FMaterialInstanceBasePropertyOverrides ()
 
ENGINE_API bool operator== (const FMaterialInstanceBasePropertyOverrides &Other) const
 
ENGINE_API bool operator!= (const FMaterialInstanceBasePropertyOverrides &Other) const
 

Public Attributes

uint8 bOverride_OpacityMaskClipValue: 1
 
uint8 bOverride_BlendMode: 1
 
uint8 bOverride_ShadingModel: 1
 
uint8 bOverride_DitheredLODTransition: 1
 
uint8 bOverride_CastDynamicShadowAsMasked: 1
 
uint8 bOverride_TwoSided: 1
 
uint8 bOverride_bIsThinSurface: 1
 
uint8 bOverride_OutputTranslucentVelocity: 1
 
uint8 bOverride_bHasPixelAnimation: 1
 
uint8 bOverride_bEnableTessellation: 1
 
uint8 bOverride_DisplacementScaling: 1
 
uint8 bOverride_bEnableDisplacementFade: 1
 
uint8 bOverride_DisplacementFadeRange: 1
 
uint8 bOverride_MaxWorldPositionOffsetDisplacement: 1
 
uint8 bOverride_CompatibleWithLumenCardSharing: 1
 
uint8 TwoSided: 1
 
uint8 bIsThinSurface: 1
 
uint8 DitheredLODTransition: 1
 
uint8 bCastDynamicShadowAsMasked:1
 
uint8 bOutputTranslucentVelocity: 1
 
uint8 bHasPixelAnimation: 1
 
uint8 bEnableTessellation: 1
 
uint8 bEnableDisplacementFade: 1
 
uint8 bCompatibleWithLumenCardSharing: 1
 
TEnumAsByte< EBlendModeBlendMode
 
TEnumAsByte< EMaterialShadingModelShadingModel
 
float OpacityMaskClipValue
 
FDisplacementScaling DisplacementScaling
 
FDisplacementFadeRange DisplacementFadeRange
 
float MaxWorldPositionOffsetDisplacement
 

Detailed Description

Properties from the base material that can be overridden in material instances.

Constructor & Destructor Documentation

◆ FMaterialInstanceBasePropertyOverrides()

FMaterialInstanceBasePropertyOverrides::FMaterialInstanceBasePropertyOverrides ( )

Member Function Documentation

◆ operator!=()

bool FMaterialInstanceBasePropertyOverrides::operator!= ( const FMaterialInstanceBasePropertyOverrides Other) const

◆ operator==()

bool FMaterialInstanceBasePropertyOverrides::operator== ( const FMaterialInstanceBasePropertyOverrides Other) const

Member Data Documentation

◆ bCastDynamicShadowAsMasked

uint8 FMaterialInstanceBasePropertyOverrides::bCastDynamicShadowAsMasked

Whether the material should cast shadows as masked even though it has a translucent blend mode.

◆ bCompatibleWithLumenCardSharing

uint8 FMaterialInstanceBasePropertyOverrides::bCompatibleWithLumenCardSharing

When true, allows to share Lumen Cards between different instances even when material uses world position or per instance data, which may change material look per instance. All materials on a component needs this flag set for sharing to work.

◆ bEnableDisplacementFade

uint8 FMaterialInstanceBasePropertyOverrides::bEnableDisplacementFade

Whether or not displacement fade is enabled.

◆ bEnableTessellation

uint8 FMaterialInstanceBasePropertyOverrides::bEnableTessellation

Whether or not tessellation is enabled. Required for displacement to work.

◆ bHasPixelAnimation

uint8 FMaterialInstanceBasePropertyOverrides::bHasPixelAnimation

Whether the opaque material has any pixel animations happening, that isn't included in the geometric velocities. This allows to disable renderer's heuristics that assumes animation is fully described with motion vector, such as TSR's anti-flickering heuristic.

◆ bIsThinSurface

uint8 FMaterialInstanceBasePropertyOverrides::bIsThinSurface

Indicates that the material should be rendered as.

◆ BlendMode

TEnumAsByte<EBlendMode> FMaterialInstanceBasePropertyOverrides::BlendMode

The blend mode

◆ bOutputTranslucentVelocity

uint8 FMaterialInstanceBasePropertyOverrides::bOutputTranslucentVelocity

Whether the material should output velocity even though it has a translucent blend mode.

◆ bOverride_bEnableDisplacementFade

uint8 FMaterialInstanceBasePropertyOverrides::bOverride_bEnableDisplacementFade

Enables override of the eanble displacement fade property.

◆ bOverride_bEnableTessellation

uint8 FMaterialInstanceBasePropertyOverrides::bOverride_bEnableTessellation

Enables override of the enable tessellation property.

◆ bOverride_bHasPixelAnimation

uint8 FMaterialInstanceBasePropertyOverrides::bOverride_bHasPixelAnimation

Enables override of the has pixel animation property.

◆ bOverride_bIsThinSurface

uint8 FMaterialInstanceBasePropertyOverrides::bOverride_bIsThinSurface

Enables override of the IsThinSurface property.

◆ bOverride_BlendMode

uint8 FMaterialInstanceBasePropertyOverrides::bOverride_BlendMode

Enables override of the blend mode.

◆ bOverride_CastDynamicShadowAsMasked

uint8 FMaterialInstanceBasePropertyOverrides::bOverride_CastDynamicShadowAsMasked

Enables override of whether to shadow using masked opacity on translucent materials.

◆ bOverride_CompatibleWithLumenCardSharing

uint8 FMaterialInstanceBasePropertyOverrides::bOverride_CompatibleWithLumenCardSharing

Enables override of the bCompatibleWithLumenCardSharing property.

◆ bOverride_DisplacementFadeRange

uint8 FMaterialInstanceBasePropertyOverrides::bOverride_DisplacementFadeRange

Enables override of the displacement fading range.

◆ bOverride_DisplacementScaling

uint8 FMaterialInstanceBasePropertyOverrides::bOverride_DisplacementScaling

Enables override of the displacement magnitude and center property.

◆ bOverride_DitheredLODTransition

uint8 FMaterialInstanceBasePropertyOverrides::bOverride_DitheredLODTransition

Enables override of the dithered LOD transition property.

◆ bOverride_MaxWorldPositionOffsetDisplacement

uint8 FMaterialInstanceBasePropertyOverrides::bOverride_MaxWorldPositionOffsetDisplacement

Enables override of the max world position offset property.

◆ bOverride_OpacityMaskClipValue

uint8 FMaterialInstanceBasePropertyOverrides::bOverride_OpacityMaskClipValue

Enables override of the opacity mask clip value.

◆ bOverride_OutputTranslucentVelocity

uint8 FMaterialInstanceBasePropertyOverrides::bOverride_OutputTranslucentVelocity

Enables override of the output velocity property.

◆ bOverride_ShadingModel

uint8 FMaterialInstanceBasePropertyOverrides::bOverride_ShadingModel

Enables override of the shading model.

◆ bOverride_TwoSided

uint8 FMaterialInstanceBasePropertyOverrides::bOverride_TwoSided

Enables override of the two sided property.

◆ DisplacementFadeRange

FDisplacementFadeRange FMaterialInstanceBasePropertyOverrides::DisplacementFadeRange

◆ DisplacementScaling

FDisplacementScaling FMaterialInstanceBasePropertyOverrides::DisplacementScaling

◆ DitheredLODTransition

uint8 FMaterialInstanceBasePropertyOverrides::DitheredLODTransition

Whether the material should support a dithered LOD transition when used with the foliage system.

◆ MaxWorldPositionOffsetDisplacement

float FMaterialInstanceBasePropertyOverrides::MaxWorldPositionOffsetDisplacement

The maximum World Position Offset distance. Zero means no maximum.

◆ OpacityMaskClipValue

float FMaterialInstanceBasePropertyOverrides::OpacityMaskClipValue

If BlendMode is BLEND_Masked, the surface is not rendered where OpacityMask < OpacityMaskClipValue.

◆ ShadingModel

TEnumAsByte<EMaterialShadingModel> FMaterialInstanceBasePropertyOverrides::ShadingModel

The shading model

◆ TwoSided

uint8 FMaterialInstanceBasePropertyOverrides::TwoSided

Indicates that the material should be rendered without backface culling and the normal should be flipped for backfaces.


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