C# 클래스 Engine.Objects.TextureAtlas

파일 보기 프로젝트 열기: Radnen/sphere-sfml 1 사용 예제들

공개 메소드들

메소드 설명
GetImageAt ( uint index ) : Image
Refresh ( ) : void
SetImageAt ( uint index, Image img ) : void

This will clip the image, replacing the atlas graphic. In order to change the physical bounds, see update(image[]).

TextureAtlas ( TextureAtlas copy ) : System
TextureAtlas ( uint size ) : System
Update ( Image images, bool clear = false ) : void

Packs the images in the image list into a single texture.

메소드 상세

GetImageAt() 공개 메소드

public GetImageAt ( uint index ) : Image
index uint
리턴 Image

Refresh() 공개 메소드

public Refresh ( ) : void
리턴 void

SetImageAt() 공개 메소드

This will clip the image, replacing the atlas graphic. In order to change the physical bounds, see update(image[]).
public SetImageAt ( uint index, Image img ) : void
index uint
img Image
리턴 void

TextureAtlas() 공개 메소드

public TextureAtlas ( TextureAtlas copy ) : System
copy TextureAtlas
리턴 System

TextureAtlas() 공개 메소드

public TextureAtlas ( uint size ) : System
size uint
리턴 System

Update() 공개 메소드

Packs the images in the image list into a single texture.
public Update ( Image images, bool clear = false ) : void
images Image
clear bool
리턴 void