There is no spoon

Difference between revisions of "UE3:MaterialInstanceConstant (UDK)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
m (1 revision: class descriptions for UDK January update (part 3))
 
(No difference)

Latest revision as of 05:41, 17 January 2010

UDK Object >> Surface >> MaterialInterface >> MaterialInstance >> MaterialInstanceConstant
Package: 
Engine
This class in other games:
UT3


Properties[edit]

Property group 'MaterialInstanceConstant'[edit]

FontParameterValues[edit]

Type: array<FontParameterValue>

Modifiers: const


ScalarParameterValues[edit]

Type: array<ScalarParameterValue>

Modifiers: const


TextureParameterValues[edit]

Type: array<TextureParameterValue>

Modifiers: const


VectorParameterValues[edit]

Type: array<VectorParameterValue>

Modifiers: const


Structs[edit]

FontParameterValue[edit]

Modifiers: native

name ParameterName 
Font FontValue 
int FontPage 
Object.Guid ExpressionGUID 

ScalarParameterValue[edit]

Modifiers: native

name ParameterName 
float ParameterValue 
Object.Guid ExpressionGUID 

TextureParameterValue[edit]

Modifiers: native

name ParameterName 
Texture ParameterValue 
Object.Guid ExpressionGUID 

VectorParameterValue[edit]

Modifiers: native

name ParameterName 
Object.LinearColor ParameterValue 
Object.Guid ExpressionGUID 

Native functions[edit]

ClearParameterValues[edit]

native function ClearParameterValues ()

Overrides: MaterialInstance.ClearParameterValues

Removes all parameter values

SetFontParameterValue[edit]

native function SetFontParameterValue (name ParameterName, Font FontValue, int FontPage)

Overrides: MaterialInstance.SetFontParameterValue

Sets the value of the given font parameter.

Parameters:

  • ParameterName - The name of the font parameter
  • OutFontValue - New font value to set for this MIC
  • OutFontPage - New font page value to set for this MIC

SetParent[edit]

native function SetParent (MaterialInterface NewParent)

Overrides: MaterialInstance.SetParent


SetScalarParameterValue[edit]

native function SetScalarParameterValue (name ParameterName, float Value)

Overrides: MaterialInstance.SetScalarParameterValue


SetTextureParameterValue[edit]

native function SetTextureParameterValue (name ParameterName, Texture Value)

Overrides: MaterialInstance.SetTextureParameterValue


SetVectorParameterValue[edit]

native function SetVectorParameterValue (name ParameterName, const out Object.LinearColor Value)

Overrides: MaterialInstance.SetVectorParameterValue