## Editor
Class RawMaterialFactory

source: C:\XIII\Editor\Classes\RawMaterialFactory.uc

    Core.Object
       |
       +--Editor.MaterialFactory
          |
          +--Editor.RawMaterialFactory

Direct Known Subclasses:None

class RawMaterialFactory
extends Editor.MaterialFactory

Variables
`Class` | `MaterialClass`

Function Summary
`Material` | `CreateMaterial(Object InOuter, string InPackage, string InGroup, string InName)`

Source Code

    00001	class RawMaterialFactory extends MaterialFactory;
    00002
    00003	var() Class<Material> MaterialClass;
    00004
    00005	function Material CreateMaterial( Object InOuter, string InPackage, string InGroup, string InName )
    00006	{
    00007		if( MaterialClass == None )
    00008			return None;
    00009
    00010		return New(InOuter, InName, RF_Public+RF_Standalone) MaterialClass;
    00011	}
    00012
    00013	defaultproperties
    00014	{
    00015	     MaterialClass=Class'Engine.Shader'
    00016	     Description="Raw Material"
    00017	}

End Source Code