C# Class RA.Graphic_StuffBased

Inheritance: Graphic
Mostra file Open project: RWA-Team/RimworldAscension

Public Properties

Property Type Description
categorizedGraphics Graphic>.Dictionary
currentCategory string

Public Methods

Method Description
DetermineGraphicType ( string textureNameEnding ) : Graphic
DrawWorker ( Vector3 loc, Rot4 rot, ThingDef thingDef, Thing thing ) : void
GetColoredVersion ( Shader newShader, Color newColor, Color newColorTwo ) : Graphic
GraphicClassSelector ( ) : Graphic
GraphicClassSelector ( Thing thing ) : Graphic
Init ( GraphicRequest req ) : void
MatSingleFor ( Thing thing ) : Material
ToString ( ) : string

Method Details

DetermineGraphicType() public method

public DetermineGraphicType ( string textureNameEnding ) : Graphic
textureNameEnding string
return Graphic

DrawWorker() public method

public DrawWorker ( Vector3 loc, Rot4 rot, ThingDef thingDef, Thing thing ) : void
loc UnityEngine.Vector3
rot Rot4
thingDef ThingDef
thing Thing
return void

GetColoredVersion() public method

public GetColoredVersion ( Shader newShader, Color newColor, Color newColorTwo ) : Graphic
newShader UnityEngine.Shader
newColor UnityEngine.Color
newColorTwo UnityEngine.Color
return Graphic

GraphicClassSelector() public method

public GraphicClassSelector ( ) : Graphic
return Graphic

GraphicClassSelector() public method

public GraphicClassSelector ( Thing thing ) : Graphic
thing Thing
return Graphic

Init() public method

public Init ( GraphicRequest req ) : void
req GraphicRequest
return void

MatSingleFor() public method

public MatSingleFor ( Thing thing ) : Material
thing Thing
return UnityEngine.Material

ToString() public method

public ToString ( ) : string
return string

Property Details

categorizedGraphics public_oe property

public Dictionary categorizedGraphics
return Graphic>.Dictionary

currentCategory public_oe property

public string currentCategory
return string