Cogito, ergo sum

UE2:MaterialFactory (UT2003)

From Unreal Wiki, The Unreal Engine Documentation Site
Revision as of 10:12, 17 May 2008 by Wormbo (Talk | contribs) (Auto-generated page)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
UT2003 Object >> MaterialFactory
Package: 
Editor
Direct subclasses:
FractalTextureFactory, RawMaterialFactory
This class in other games:
U2, UE2Runtime, U2XMP, UT2004

Subclasses of this class are used by UnrealEd 3 to create new Materials. An interesting use of a MaterialFactory is the custom class UFontMaterial that actually imports true-type fonts.

Properties[edit]

Description[edit]

Type: string

The display name of this factory class in the editor. This name is used in the drop-down list of the "New Material" dialog window.

Functions[edit]

Native functions[edit]

ConsoleCommand[edit]

native function ConsoleCommand (string Cmd)

Executes console commands in the context of the editor engine, as if they were entered in the UnrealEd console.

Events[edit]

CreateMaterial[edit]

event Material CreateMaterial (Object InOuter, string InPackage, string InGroup, string InName)

This function is called by UnrealEd to let the factory create a material with the specified parameters.