C# Class XPlane.Core.Miscellaneous.Skybox

Inheritance: IGameComponent
Exibir arquivo Open project: ThuCommix/Sharpex2D Class Usage Examples

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch, GameTime gameTime ) : void

Draws the Skybox.

Skybox ( Texture2D skyTextures ) : Sharpex2D

Initializes a new Skybox class.

Update ( GameTime gameTime ) : void

Updates the Skybox.

Method Details

Draw() public method

Draws the Skybox.
public Draw ( SpriteBatch spriteBatch, GameTime gameTime ) : void
spriteBatch Sharpex2D.Rendering.SpriteBatch The spriteBatch.
gameTime Sharpex2D.GameTime The GameTime.
return void

Skybox() public method

Initializes a new Skybox class.
public Skybox ( Texture2D skyTextures ) : Sharpex2D
skyTextures Sharpex2D.Rendering.Texture2D The SkyTextures.
return Sharpex2D

Update() public method

Updates the Skybox.
public Update ( GameTime gameTime ) : void
gameTime Sharpex2D.GameTime The GameTime.
return void