C# Class Fusion.Engine.Graphics.BaseIllum

Base material with color texture, surface texture, normal map and emission texture. Material has dirt texture and optional detail map. Emission OR detail map could be modulated by color texture alpha.
Afficher le fichier Open project: demiurghg/FusionEngine Class Usage Examples

Private Properties

Свойство Type Description
CreateMaterialInstance MaterialInstance

Méthodes publiques

Méthode Description
BaseIllum ( ) : System

Constructor

ExportToXml ( BaseIllum material ) : string

Exports material to xml

GetDependencies ( ) : IEnumerable

Gets all textures and shaders on which this material depends.

ImportFromXml ( string xmlString ) : BaseIllum

Imports material from xml.

Méthodes protégées

Méthode Description
GetMaterialData ( MaterialData &data ) : void

Updates MaterialData.

GetSurfaceFlags ( ) : SurfaceFlags
GetTextureBindings ( ) : Fusion.Engine.Graphics.TextureMapBind[]

Private Methods

Méthode Description
CreateMaterialInstance ( RenderSystem rs, ContentManager content ) : MaterialInstance

Creates gpu material

Method Details

BaseIllum() public méthode

Constructor
public BaseIllum ( ) : System
Résultat System

ExportToXml() public static méthode

Exports material to xml
public static ExportToXml ( BaseIllum material ) : string
material BaseIllum
Résultat string

GetDependencies() public méthode

Gets all textures and shaders on which this material depends.
public GetDependencies ( ) : IEnumerable
Résultat IEnumerable

GetMaterialData() protected méthode

Updates MaterialData.
protected GetMaterialData ( MaterialData &data ) : void
data MaterialData
Résultat void

GetSurfaceFlags() protected méthode

protected GetSurfaceFlags ( ) : SurfaceFlags
Résultat SurfaceFlags

GetTextureBindings() protected méthode

protected GetTextureBindings ( ) : Fusion.Engine.Graphics.TextureMapBind[]
Résultat Fusion.Engine.Graphics.TextureMapBind[]

ImportFromXml() public static méthode

Imports material from xml.
public static ImportFromXml ( string xmlString ) : BaseIllum
xmlString string
Résultat BaseIllum