Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/MaterialEditor
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
| 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. | |
| 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 | ||
| TArray< TObjectPtr< class UMaterialInstanceConstant > > | StoredBlendPreviews | ||
| TArray< TObjectPtr< class UMaterialInstanceConstant > > | StoredLayerPreviews | ||
| 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 | CleanParameterStack
(
int32 Index, |
Sets back to zero the overrides for any parameters copied out of the layer stack | |
| void | |||
| void | CopyToSourceInstance
(
const bool bForceStaticPermutationUpdate |
Copies the parameter array values back to the source instance. | |
| FEditorParameterGroup & | GetParameterGroup
(
FName& ParameterGroup |
Returns group for parameter. Creates one if needed. | |
| 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 | |
| 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 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 |