C# Class WaveEngine.Framework.Graphics.Skybox

This class represent a Skybox.
Inheritance: Drawable3D
Afficher le fichier Open project: WaveEngine/Components

Private Properties

Свойство Type Description
RefreshCubemapMaterial void

Méthodes publiques

Méthode Description
Draw ( System.TimeSpan gameTime ) : void

Allows to perform custom drawing.

This method will only be called if all the following points are true: The entity passes the culling test.The parent of the owner Entity of the Drawable cascades its visibility to its children and it is visible.The Drawable is active.The owner Entity of the Drawable is active and visible.

Skybox ( ) : System

Initializes a new instance of the Skybox class.

Skybox ( string cubemapTexture ) : System

Initializes a new instance of the Skybox class.

Méthodes protégées

Méthode Description
DefaultValues ( ) : void

The default values.

Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Initialize ( ) : void

Performs further custom initialization for this instance.

Private Methods

Méthode Description
RefreshCubemapMaterial ( ) : void

Refresh cubemap material

Method Details

DefaultValues() protected méthode

The default values.
protected DefaultValues ( ) : void
Résultat void

Dispose() protected méthode

Releases unmanaged and - optionally - managed resources.
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
Résultat void

Draw() public méthode

Allows to perform custom drawing.
This method will only be called if all the following points are true: The entity passes the culling test.The parent of the owner Entity of the Drawable cascades its visibility to its children and it is visible.The Drawable is active.The owner Entity of the Drawable is active and visible.
public Draw ( System.TimeSpan gameTime ) : void
gameTime System.TimeSpan The elapsed game time.
Résultat void

Initialize() protected méthode

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

Skybox() public méthode

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

Skybox() public méthode

Initializes a new instance of the Skybox class.
public Skybox ( string cubemapTexture ) : System
cubemapTexture string The cubemap texture.
Résultat System