UMaterialEditorInstanceConstant

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UMaterialEditorInstanceConstant

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Classes/MaterialEditor/MaterialEditorInstanceConstant.h

Include

#include "MaterialEditor/MaterialEditorInstanceConstant.h"

Syntax

class UMaterialEditorInstanceConstant : public UObject

Variables

Name Description

Public variable

FMaterialInstan...

 

BasePropertyOverrides

Public variable

uint32: 1

 

bIsFunctionInstanceDirty

Public variable

uint32: 1

 

bIsFunctionPreviewMaterial

Public variable

uint32: 1

 

bOverrideSubsurfaceProfile

Defines if SubsurfaceProfile from tis instance is used or it uses the parent one.

Public variable

bool

 

bShowOnlyOverrides

Whether or not we should show only overridden properties

Public variable

uint32: 1

 

bUseOldStyleMICEditorGroups

Should we use old style typed arrays for unassigned parameters instead of a None group (new style)?

Public variable

TWeakPtr< class...

 

DetailsView

Public variable

FLightmassParam...

 

LightmassSettings

The Lightmass override settings for this object.

Public variable

TArray< struct ...

 

ParameterGroups

Public variable

UMaterialInterf...

 

Parent

Since the Parent may point across levels and the property editor needs to import this text, it must be marked lazy so it doesn't set itself to NULL in FindImportedObject

Public variable

UPhysicalMateri...

 

PhysMaterial

Physical material to use for this graphics material. Used for sounds, effects etc.

Public variable

float

 

RefractionDepthBias

This is the refraction depth bias, larger values offset distortion to prevent closer objects from rendering into the distorted surface at acute viewing angles but increases the disconnect between surface and where the refraction starts.

Public variable

UMaterialFuncti...

 

SourceFunction

Public variable

UMaterialInstan...

 

SourceInstance

Public variable

TArray< class U...

 

StoredBlendPreviews

Public variable

TArray< class U...

 

StoredLayerPreviews

Public variable

USubsurfaceProf...

 

SubsurfaceProfile

SubsurfaceProfile, for Screen Space Subsurface Scattering

Public variable

TArray< FMateri...

 

VisibleExpressions

Constructors

Name Description

Public function

UMaterialEditorInstanceConstant

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

ApplySourceFunctionChanges()

Public function

void

 

AssignParameterToGroup

(
    UMaterial* ParentMaterial,
    UDEditorParameterValue* Parame...
)

Creates/adds value to group retrieved from parent material .

Public function

void

 

BuildStaticParametersForSourceInstance

(
    FStaticParameterSet& OutStaticPara...
)

Builds a FStaticParameterSet for the source UMaterialInstance to store.

Public function

void

 

CleanParameterStack

(
    int32 Index,
    EMaterialParameterAssociation Mater...
)

Sets back to zero the overrides for any parameters copied out of the layer stack

Public function

void

 

CopyBasePropertiesFromParent()

Public function

void

 

CopyToSourceInstance

(
    const bool bForceStaticPermutationU...
)

Copies the parameter array values back to the source instance.

Public function

FEditorParam...

 

GetParameterGroup

(
    FName& ParameterGroup
)

Returns group for parameter. Creates one if needed.

Public function

void

 

RegenerateArrays()

Regenerates the parameter arrays.

Public function

void

 

ResetOverrides

(
    int32 Index,
    EMaterialParameterAssociation Mater...
)

Copies the overrides for any parameters copied out of the layer stack from the layer or blend

Public function

void

 

SetSourceFunction

(
    UMaterialFunctionInstance* Mat...
)

Public function

void

 

SetSourceInstance

(
    UMaterialInstanceConstant* Mat...
)

Sets the source instance for this object and regenerates arrays.

Public function

void

 

UpdateSourceInstanceParent()

Update the source instance parent to match this

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostEditUndo()

Called after applying a transaction to the object.

Constants

Name

Description

GlobalGroupPrefix

Deprecated Variables

Name Description

Public variable

uint32: 1

 

bOverrideBaseProperties_DEPRECATED

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss