C# Class Project290.Screens.Shared.HypercubeDisplay

Used for displaying hypercubes.
Afficher le fichier Open project: scastle/Solitude Class Usage Examples

Méthodes publiques

Свойство Type Description
DisplayRectangle Microsoft.Xna.Framework.Rectangle

Méthodes publiques

Méthode Description
Draw ( ) : void

Draws this instance.

HypercubeDisplay ( Rectangle displayRectangle, int hypercubeCount, Random random, float layerDepth ) : System

Initializes a new instance of the HypercubeDisplay class.

Set ( float x, float y ) : void

Sets the rectangle to the x, y specified.

SetLayerDepth ( float layerDepth ) : void

Sets the layer depth.

Update ( ) : void

Updates this instance.

Method Details

Draw() public méthode

Draws this instance.
public Draw ( ) : void
Résultat void

HypercubeDisplay() public méthode

Initializes a new instance of the HypercubeDisplay class.
public HypercubeDisplay ( Rectangle displayRectangle, int hypercubeCount, Random random, float layerDepth ) : System
displayRectangle Microsoft.Xna.Framework.Rectangle The display rectangle.
hypercubeCount int The number of hypercubes.
random System.Random The PRNG.
layerDepth float The layer depth.
Résultat System

Set() public méthode

Sets the rectangle to the x, y specified.
public Set ( float x, float y ) : void
x float The x.
y float The y.
Résultat void

SetLayerDepth() public méthode

Sets the layer depth.
public SetLayerDepth ( float layerDepth ) : void
layerDepth float The layer depth.
Résultat void

Update() public méthode

Updates this instance.
public Update ( ) : void
Résultat void

Property Details

DisplayRectangle public_oe property

The bounding rectangle for the hypercubes and background.
public Rectangle,Microsoft.Xna.Framework DisplayRectangle
Résultat Microsoft.Xna.Framework.Rectangle