UE3:MaterialInstanceConstant (UT3)

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to navigation Jump to search
UT3 Object >> Surface >> MaterialInterface >> MaterialInstance >> MaterialInstanceConstant
Package: 
Engine

Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.

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, Object.LinearColor Value)

Overrides: MaterialInstance.SetVectorParameterValue