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

Наследование: Component
Показать файл Открыть проект

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

Свойство Тип Описание
disposed bool
size System.Vector2
texture Texture

Private Properties

Свойство Тип Описание
RefreshTexture void
UpdateSize void

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

Метод Описание
Billboard ( ) : System

Initializes a new instance of the Billboard class based on a content file.

Billboard ( Texture texture ) : System

Initializes a new instance of the Billboard class based on a texture. See Texture for more information.

Billboard ( string texturePath ) : System

Initializes a new instance of the Billboard class based on a content file.

Dispose ( ) : void

Releases unmanaged and - optionally - managed resources.

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

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

The default values

Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

Initialize ( ) : void

Performs further custom initialization for this instance.

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

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

Reload the billboard texture

UpdateSize ( ) : void

The update source rectangle.

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

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

Initializes a new instance of the Billboard class based on a content file.
public Billboard ( ) : System
Результат System

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

Initializes a new instance of the Billboard class based on a texture. See Texture for more information.
Texture can not be null.
public Billboard ( Texture texture ) : System
texture Texture The texture.
Результат System

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

Initializes a new instance of the Billboard class based on a content file.
TexturePath can not be null.
public Billboard ( string texturePath ) : System
texturePath string The texture path to the content file.
Результат System

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

The default values
protected DefaultValues ( ) : void
Результат void

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

Releases unmanaged and - optionally - managed resources.
public Dispose ( ) : void
Результат void

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

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

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

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

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

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

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

The final size
protected Vector2,System size
Результат System.Vector2

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

The billboard texture
protected Texture texture
Результат Texture