C# Class WaveEngine.Components.Graphics3D.MaterialsMap

A list of materials.
Inheritance: Component
Afficher le fichier Open project: WaveEngine/Components Class Usage Examples

Private Properties

Свойство Type Description
OnDeserialized void
RefreshDefaultMaterial void
RefreshDefaultMaterialPath void
RefreshMaterials void
RefreshMaterialsPath void

Méthodes publiques

Méthode 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.

Méthodes protégées

Méthode Description
ResolveDependencies ( ) : void

Performs further custom initialization for this instance.

Private Methods

Méthode 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 méthode

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

MaterialsMap() public méthode

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

MaterialsMap() public méthode

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

MaterialsMap() public méthode

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.
Résultat System.Collections.Generic

ResolveDependencies() protected méthode

Performs further custom initialization for this instance.
protected ResolveDependencies ( ) : void
Résultat void