MaterialInstance¶
Class in Engine · Engine.MaterialInstance · abstract, native
Object › Surface › MaterialInterface › MaterialInstance
Subclasses: MaterialInstanceConstant, MaterialInstanceTimeVarying
Using it from Lua
Properties¶
| Name | Type | Notes |
|---|---|---|
bHasStaticPermutationResource | bool | |
BlackPhysicalMaterial | PhysicalMaterial | |
bNeedsMaterialFlattening | bool | const, transient, private |
bStaticPermutationDirty | bool | transient, native |
Parent | MaterialInterface | const |
ParentLightingGuid | Guid | const, private |
PhysMaterial | PhysicalMaterial | |
PhysMaterialMask | Texture2D | |
PhysMaterialMaskUVChannel | INT | |
ReentrantFlag | bool | const, native, private |
ReferencedTextureGuids | array<guid> | const, private |
ReferencedTextures | array<texture> | const, private |
Resources | pointer[3] | const, native |
StaticParameters | pointer[2] | const, native |
StaticPermutationResources | pointer[2] | const, native |
WhitePhysicalMaterial | PhysicalMaterial |
Functions¶
| Name | Declaration |
|---|---|
ClearParameterValues | native function ClearParameterValues(optional bool bOnlyClearTextures = false) |
GetTextureParameterValue | native function bool GetTextureParameterValue(name ParameterName, out Texture Value) |
IsInMapOrTransientPackage | native function bool IsInMapOrTransientPackage() |
SetFontParameterValue | native function SetFontParameterValue(name ParameterName, Font FontValue, int FontPage) |
SetParent | native function SetParent(MaterialInterface NewParent) |
SetScalarCurveParameterValue | native function SetScalarCurveParameterValue(name ParameterName, const out InterpCurveFloat Value) |
SetScalarParameterValue | native function SetScalarParameterValue(name ParameterName, float Value) |
SetTextureParameterValue | native function SetTextureParameterValue(name ParameterName, Texture Value) |
SetVectorParameterValue | native function SetVectorParameterValue(name ParameterName, const out LinearColor Value) |
Default values¶
Inherited¶
| From | Members |
|---|---|
| MaterialInterface | 106 properties, 16 functions |
| Surface | 0 properties, 2 functions |
| Object | 13 properties, 308 functions |