Always snap to grid
Difference between revisions of "UE2:RawMaterialFactory (UT2004)"
From Unreal Wiki, The Unreal Engine Documentation Site
(Auto-generated page) |
m (filled in descriptions) |
||
Line 4: | Line 4: | ||
| parent2 = Object | | parent2 = Object | ||
}} | }} | ||
− | {{ | + | Factory class for "raw" materials. Materials of type {{cl|Texture}} or subclasses of {{cl|FractalTexture}} should not be created with this factory. |
− | + | ||
==Properties== | ==Properties== | ||
Line 12: | Line 11: | ||
'''Type:''' [[class]]<{{cl|Material}}> | '''Type:''' [[class]]<{{cl|Material}}> | ||
− | + | The type of material to create. | |
'''Default value:''' [[Types#Class|Class]]'{{cl|Shader|Engine}}' | '''Default value:''' [[Types#Class|Class]]'{{cl|Shader|Engine}}' | ||
Line 31: | Line 30: | ||
'''Overrides:''' {{tl|CreateMaterial|MaterialFactory}} | '''Overrides:''' {{tl|CreateMaterial|MaterialFactory}} | ||
− | + | Called by the editor to create a new materials of the desired class. |
Latest revision as of 01:35, 28 November 2008
Object >> MaterialFactory >> RawMaterialFactory |
- Package:
- Editor
- This class in other games:
- UE2Runtime, UT2003, U2XMP, U2
Factory class for "raw" materials. Materials of type Texture or subclasses of FractalTexture should not be created with this factory.
Properties[edit]
Property group 'RawMaterialFactory'[edit]
MaterialClass[edit]
The type of material to create.
Default value: Class'Engine.Shader'
Default values[edit]
Property | Value |
---|---|
Description | "Raw Material" |
Events[edit]
CreateMaterial[edit]
Overrides: MaterialFactory.CreateMaterial
Called by the editor to create a new materials of the desired class.