Always snap to grid

Difference between revisions of "UE2:RawMaterialFactory (UT2004)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(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:
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]

Type: class<Material>

The type of material to create.

Default value: Class'Engine.Shader'

Default values[edit]

Property Value
Description "Raw Material"

Events[edit]

CreateMaterial[edit]

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.