My program doesn't have bugs. It just develops random features.

UE3:MaterialInstanceConstant (UDK)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 06:24, 17 January 2010 by (Talk)

Jump to: navigation, search
UDK Object >> Surface >> MaterialInterface >> MaterialInstance >> MaterialInstanceConstant
Package: 
Engine
This class in other games:
UT3


Properties

Property group 'MaterialInstanceConstant'

FontParameterValues

Type: array<FontParameterValue>

Modifiers: const


ScalarParameterValues

Type: array<ScalarParameterValue>

Modifiers: const


TextureParameterValues

Type: array<TextureParameterValue>

Modifiers: const


VectorParameterValues

Type: array<VectorParameterValue>

Modifiers: const


Structs

FontParameterValue

Modifiers: native

name ParameterName 
Font FontValue 
int FontPage 
Object.Guid ExpressionGUID 

ScalarParameterValue

Modifiers: native

name ParameterName 
float ParameterValue 
Object.Guid ExpressionGUID 

TextureParameterValue

Modifiers: native

name ParameterName 
Texture ParameterValue 
Object.Guid ExpressionGUID 

VectorParameterValue

Modifiers: native

name ParameterName 
Object.LinearColor ParameterValue 
Object.Guid ExpressionGUID 

Native functions

ClearParameterValues

native function ClearParameterValues ()

Overrides: MaterialInstance.ClearParameterValues

Removes all parameter values

SetFontParameterValue

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

native function SetParent (MaterialInterface NewParent)

Overrides: MaterialInstance.SetParent


SetScalarParameterValue

native function SetScalarParameterValue (name ParameterName, float Value)

Overrides: MaterialInstance.SetScalarParameterValue


SetTextureParameterValue

native function SetTextureParameterValue (name ParameterName, Texture Value)

Overrides: MaterialInstance.SetTextureParameterValue


SetVectorParameterValue

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

Overrides: MaterialInstance.SetVectorParameterValue