MaterialInstanceConstant
Class in Engine · Engine.MaterialInstanceConstant · native
Object › Surface › MaterialInterface › MaterialInstance › MaterialInstanceConstant
Subclasses: LandscapeMaterialInstanceConstant
Using it from Lua
h7.find_all("MaterialInstanceConstant") -- live instances
h7.find_class("Engine.MaterialInstanceConstant") -- the class
h7.hook("Engine.MaterialInstanceConstant.ClearParameterValues", fn)
Structs
FontParameterValue
| Field | Type |
ParameterName | name |
FontValue | Font |
FontPage | int |
ExpressionGUID | guid |
ScalarParameterValue
| Field | Type |
ParameterName | name |
ParameterValue | float |
ExpressionGUID | guid |
TextureParameterValue
| Field | Type |
ParameterName | name |
ParameterValue | Texture |
ExpressionGUID | guid |
VectorParameterValue
Properties
Functions
| Name | Declaration |
ClearParameterValues | native function ClearParameterValues(optional bool bOnlyClearTextures = false) |
GetMobileScalarParameterValue | native function bool GetMobileScalarParameterValue(name ParameterName, out float OutValue) |
GetMobileTextureParameterValue | native function bool GetMobileTextureParameterValue(name ParameterName, out Texture OutValue) |
GetMobileVectorParameterValue | native function bool GetMobileVectorParameterValue(name ParameterName, out LinearColor OutValue) |
SetFontParameterValue | native function SetFontParameterValue(name ParameterName, Font FontValue, int FontPage) |
SetParent | native function SetParent(MaterialInterface NewParent) |
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) |
Inherited