C# Class MyGame.SkyCubeModel

This class represent sky cube model, it implement IRenderable in order to be reflected by the water
Inheritance: CModel, IRenderable
Mostrar archivo Open project: mahmoudbahaa/XNA-Game-project

Public Properties

Property Type Description
effect Microsoft.Xna.Framework.Graphics.Effect

Public Methods

Method Description
Draw ( ) : void

This method renders the current state.

Draw ( GameTime gameTime ) : void
SetClipPlane ( Vector4 Plane ) : void
SkyCubeModel ( MyGame game, Model model, TextureCube Texture ) : System

Method Details

Draw() public method

This method renders the current state.
public Draw ( ) : void
return void

Draw() public method

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void

SetClipPlane() public method

public SetClipPlane ( Vector4 Plane ) : void
Plane Vector4
return void

SkyCubeModel() public method

public SkyCubeModel ( MyGame game, Model model, TextureCube Texture ) : System
game MyGame
model Microsoft.Xna.Framework.Graphics.Model
Texture TextureCube
return System

Property Details

effect public_oe property

public Effect,Microsoft.Xna.Framework.Graphics effect
return Microsoft.Xna.Framework.Graphics.Effect