UE2:RawMaterialFactory (UT2004): Difference between revisions

From Unreal Wiki, The Unreal Engine Documentation Site
Auto-generated page
 
m filled in descriptions
 
Line 4: Line 4:
| parent2 = Object
| parent2 = Object
}}
}}
{{autogenerated}}
Factory class for "raw" materials. Materials of type {{cl|Texture}} or subclasses of {{cl|FractalTexture}} should not be created with this factory.
null


==Properties==
==Properties==
Line 12: Line 11:
'''Type:''' [[class]]<{{cl|Material}}>
'''Type:''' [[class]]<{{cl|Material}}>


<!-- enter variable description -->
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}}


<!-- enter function description -->
Called by the editor to create a new materials of the desired class.

Latest revision as of 01:35, 28 November 2008

UT2004 Object >> MaterialFactory >> RawMaterialFactory
Package:
Editor
This class in other games:

Factory class for "raw" materials. Materials of type Texture or subclasses of FractalTexture should not be created with this factory.

Properties

Property group 'RawMaterialFactory'

MaterialClass

Type: class<Material>

The type of material to create.

Default value: Class'Engine.Shader'

Default values

Property Value
Description "Raw Material"

Events

CreateMaterial

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

Overrides: MaterialFactory.CreateMaterial

Called by the editor to create a new materials of the desired class.