C# Class WaveEngine.Components.Graphics3D.MaterialsMap

A list of materials.
Inheritance: Component
Datei anzeigen Open project: WaveEngine/Components Class Usage Examples

Private Properties

Property Type Description
OnDeserialized void
RefreshDefaultMaterial void
RefreshDefaultMaterialPath void
RefreshMaterials void
RefreshMaterialsPath void

Public Methods

Method Description
MaterialsMap ( ) : System.Collections.Generic

Initializes a new instance of the MaterialsMap class.

MaterialsMap ( Material>.Dictionary materials ) : System.Collections.Generic

Initializes a new instance of the MaterialsMap class.

MaterialsMap ( Material material ) : System.Collections.Generic

Initializes a new instance of the MaterialsMap class.

MaterialsMap ( string name, Material>.Dictionary materials ) : System.Collections.Generic

Initializes a new instance of the MaterialsMap class.

Protected Methods

Method Description
ResolveDependencies ( ) : void

Performs further custom initialization for this instance.

Private Methods

Method Description
OnDeserialized ( StreamingContext context ) : void
RefreshDefaultMaterial ( ) : void

Refreshes the default material.

RefreshDefaultMaterialPath ( ) : void

Refreshes the default material path.

RefreshMaterials ( ) : void

Refreshes the materials.

RefreshMaterialsPath ( ) : void

Refreshes the materials path.

Method Details

MaterialsMap() public method

Initializes a new instance of the MaterialsMap class.
public MaterialsMap ( ) : System.Collections.Generic
return System.Collections.Generic

MaterialsMap() public method

Initializes a new instance of the MaterialsMap class.
public MaterialsMap ( Material>.Dictionary materials ) : System.Collections.Generic
materials Material>.Dictionary The materials.
return System.Collections.Generic

MaterialsMap() public method

Initializes a new instance of the MaterialsMap class.
public MaterialsMap ( Material material ) : System.Collections.Generic
material Material Material applied to all meshes.
return System.Collections.Generic

MaterialsMap() public method

Initializes a new instance of the MaterialsMap class.
public MaterialsMap ( string name, Material>.Dictionary materials ) : System.Collections.Generic
name string The name.
materials Material>.Dictionary The materials.
return System.Collections.Generic

ResolveDependencies() protected method

Performs further custom initialization for this instance.
protected ResolveDependencies ( ) : void
return void