Navigation
API > API/Editor > API/Editor/UnrealEd
| Name | UMaterialEditorInstanceConstant |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Classes/MaterialEditor/MaterialEditorInstanceConstant.h |
| Include Path | #include "MaterialEditor/MaterialEditorInstanceConstant.h" |
Syntax
UCLASS (HideCategories=Object, CollapseCategories, MinimalAPI)
class UMaterialEditorInstanceConstant : public UMaterialEditorParameters
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialEditorParameters → UMaterialEditorInstanceConstant
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialEditorInstanceConstant
(
const FObjectInitializer& ObjectInitializer |
MaterialEditor/MaterialEditorInstanceConstant.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| GlobalGroupPrefix | FName | MaterialEditor/MaterialEditorInstanceConstant.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| BasePropertyOverrides | FMaterialInstanceBasePropertyOverrides | MaterialEditor/MaterialEditorInstanceConstant.h |
|
|
| bIsFunctionInstanceDirty | uint32 | MaterialEditor/MaterialEditorInstanceConstant.h |
|
|
| bIsFunctionPreviewMaterial | uint32 | MaterialEditor/MaterialEditorInstanceConstant.h |
|
|
| bNaniteOverride | uint32 | When set we will use the override from NaniteOverrideMaterial. | MaterialEditor/MaterialEditorInstanceConstant.h |
|
| bOverrideSpecularProfile | uint32 | Defines if SpecularProfile from this instance is used or it uses the parent one. | MaterialEditor/MaterialEditorInstanceConstant.h |
|
| bOverrideSubsurfaceProfile | uint32 | Defines if SubsurfaceProfile from this instance is used or it uses the parent one. | MaterialEditor/MaterialEditorInstanceConstant.h |
|
| bShowOnlyOverrides | bool | Whether or not we should show only overridden properties | MaterialEditor/MaterialEditorInstanceConstant.h | |
| bUseOldStyleMICEditorGroups | uint32 | Should we use old style typed arrays for unassigned parameters instead of a None group (new style)? | MaterialEditor/MaterialEditorInstanceConstant.h |
|
| DetailsView | TWeakPtr< class IDetailsView > | MaterialEditor/MaterialEditorInstanceConstant.h | ||
| LightmassSettings | FLightmassParameterizedMaterialSettings | The Lightmass override settings for this object. | MaterialEditor/MaterialEditorInstanceConstant.h |
|
| NaniteOverrideMaterial | TObjectPtr< UMaterialInterface > | An override material which will be used instead of this one when rendering with nanite. | MaterialEditor/MaterialEditorInstanceConstant.h |
|
| ParameterGroups | TArray< struct FEditorParameterGroup > | MaterialEditor/MaterialEditorInstanceConstant.h |
|
|
| Parent | TObjectPtr< class UMaterialInterface > | 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 | MaterialEditor/MaterialEditorInstanceConstant.h |
|
| PhysMaterial | TObjectPtr< class UPhysicalMaterial > | Physical material to use for this graphics material. Used for sounds, effects etc. | MaterialEditor/MaterialEditorInstanceConstant.h |
|
| PostProcessOverrides | FMaterialEditorPostProcessOverrides | Overrides specific to Post Process domain materials. | MaterialEditor/MaterialEditorInstanceConstant.h |
|
| RefractionDepthBias | float | 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. | MaterialEditor/MaterialEditorInstanceConstant.h |
|
| SourceFunction | TObjectPtr< class UMaterialFunctionInstance > | MaterialEditor/MaterialEditorInstanceConstant.h | ||
| SourceInstance | TObjectPtr< class UMaterialInstanceConstant > | MaterialEditor/MaterialEditorInstanceConstant.h | ||
| SpecularProfile | TObjectPtr< class USpecularProfile > | Specular profile | MaterialEditor/MaterialEditorInstanceConstant.h |
|
| SubsurfaceProfile | TObjectPtr< class USubsurfaceProfile > | SubsurfaceProfile, for Screen Space Subsurface Scattering | MaterialEditor/MaterialEditorInstanceConstant.h |
|
| VisibleExpressions | TArray< FMaterialParameterInfo > | MaterialEditor/MaterialEditorInstanceConstant.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplySourceFunctionChanges() |
MaterialEditor/MaterialEditorInstanceConstant.h | ||
void AssignParameterToGroup
(
UDEditorParameterValue* ParameterValue, |
Creates/adds value to group retrieved from parent material . | MaterialEditor/MaterialEditorInstanceConstant.h | |
void ClearInvalidParameterOverrides () |
Arrays and clears parameters no longer valid (e.g. curve atlases). | MaterialEditor/MaterialEditorInstanceConstant.h | |
void CopyBasePropertiesFromParent() |
MaterialEditor/MaterialEditorInstanceConstant.h | ||
FEditorParameterGroup & GetParameterGroup
(
FName& ParameterGroup |
Returns group for parameter. Creates one if needed. | MaterialEditor/MaterialEditorInstanceConstant.h | |
void SetSourceFunction
(
UMaterialFunctionInstance* MaterialFunction |
MaterialEditor/MaterialEditorInstanceConstant.h | ||
void SetSourceInstance
(
UMaterialInstanceConstant* MaterialInterface |
Sets the source instance for this object and regenerates arrays. | MaterialEditor/MaterialEditorInstanceConstant.h | |
void UpdateSourceInstanceParent() |
Update the source instance parent to match this | MaterialEditor/MaterialEditorInstanceConstant.h |
Overridden from UMaterialEditorParameters
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void CleanParameterStack
(
int32 Index, |
Sets back to zero the overrides for any parameters copied out of the layer stack | MaterialEditor/MaterialEditorInstanceConstant.h | |
virtual void CopyToSourceInstance
(
const bool bForceStaticPermutationUpdate |
Copies the parameter array values back to the source instance. | MaterialEditor/MaterialEditorInstanceConstant.h | |
virtual TObjectPtr< UMaterialInterface > GetMaterialInterface() |
Get the source/preview material interface for the parameters | MaterialEditor/MaterialEditorInstanceConstant.h | |
virtual TObjectPtr< UMaterialInterface > GetParentMaterialInterface() |
MaterialEditor/MaterialEditorInstanceConstant.h | ||
virtual void RegenerateArrays() |
Regenerates the parameter arrays. | MaterialEditor/MaterialEditorInstanceConstant.h | |
virtual void ResetOverrides
(
int32 Index, |
Copies the overrides for any parameters copied out of the layer stack from the layer or blend | MaterialEditor/MaterialEditorInstanceConstant.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
MaterialEditor/MaterialEditorInstanceConstant.h | ||
virtual void PostEditUndo() |
MaterialEditor/MaterialEditorInstanceConstant.h |
Deprecated Variables
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bOverrideBaseProperties_DEPRECATED | uint32 | MaterialEditor/MaterialEditorInstanceConstant.h |