C# Класс WaveEngine.Components.Graphics2D.QuadRenderer

Drawable for spare quads.
Наследование: Drawable2D
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
disposed bool

Открытые методы

Метод Описание
Draw ( System.TimeSpan gameTime ) : void

Allows to perform custom drawing.

This method will only be called if all the following points are true: 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.

QuadRenderer ( ) : System

Initializes a new instance of the QuadRenderer class.

QuadRenderer ( System.Vector2 texcoord1, System.Vector2 texcoord2 ) : System

Initializes a new instance of the QuadRenderer class.

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources.

Initialize ( ) : void

Performs further custom initialization for this instance.

Приватные методы

Метод Описание
RefreshQuadMesh ( ) : void

Refresh the quad mesh

Описание методов

Dispose() защищенный Метод

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.
Результат void

Draw() публичный Метод

Allows to perform custom drawing.
This method will only be called if all the following points are true: 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.
Результат void

Initialize() защищенный Метод

Performs further custom initialization for this instance.
protected Initialize ( ) : void
Результат void

QuadRenderer() публичный Метод

Initializes a new instance of the QuadRenderer class.
public QuadRenderer ( ) : System
Результат System

QuadRenderer() публичный Метод

Initializes a new instance of the QuadRenderer class.
public QuadRenderer ( System.Vector2 texcoord1, System.Vector2 texcoord2 ) : System
texcoord1 System.Vector2 The texcoord1.
texcoord2 System.Vector2 The texcoord2.
Результат System

Описание свойств

disposed защищенное свойство

The disposed
protected bool disposed
Результат bool