C# 클래스 WaveEngine.Components.Graphics2D.Billboard

상속: Component
파일 보기 프로젝트 열기: WaveEngine/Components

보호된 프로퍼티들

프로퍼티 타입 설명
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