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