I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX
UE2:MaterialFactory (UT2004)
From Unreal Wiki, The Unreal Engine Documentation Site
| Object >> MaterialFactory |
Contents |
- Package:
- Editor
- Direct subclasses:
- FractalTextureFactory, RawMaterialFactory
- Known custom subclass:
- UFontMaterial (UT2004)
- This class in other games:
- U2, U2XMP, UE2Runtime, UT2003
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.
[edit] Properties
[edit] Description
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.
[edit] Functions
[edit] Native functions
[edit] ConsoleCommand
native function ConsoleCommand (string Cmd)
Executes console commands in the context of the editor engine, as if they were entered in the UnrealEd console.
[edit] Events
[edit] CreateMaterial
This function is called by UnrealEd to let the factory create a material with the specified parameters.
