PowerUI.PictureFormat Class Reference

Detailed Description

Represents the default "picture" format. Png, jpeg etc are handled with this.

Inheritance diagram for PowerUI.PictureFormat:
PowerUI.ImageFormat

Public Member Functions

override string[] GetNames ()
 The set of lowercase file types that this format will handle. More...
 
override bool DrawToAtlas (TextureAtlas atlas, AtlasLocation location)
 Draws this image to the given atlas. More...
 
- Public Member Functions inherited from PowerUI.ImageFormat
virtual void Clear ()
 Resets this image format container. More...
 
virtual void GoingOnDisplay ()
 Called when this image is going to be displayed. More...
 
virtual void GoingOffDisplay ()
 Called when this image is going to stop being displayed. More...
 

Public Attributes

Texture2D Image
 The image texture retrieved. More...
 
Material IsolatedMaterial
 An isolated material for this image. More...
 

Properties

override int Height [get]
 
override int Width [get]
 
override Material ImageMaterial [get]
 
- Properties inherited from PowerUI.ImageFormat
virtual int Height [get]
 The height of the image. More...
 
virtual int Width [get]
 The width of the image. More...
 
virtual Material ImageMaterial [get]
 A single-frame image material. Used for e.g. videos and animations. More...
 

Member Function Documentation

override bool PowerUI.PictureFormat.DrawToAtlas ( TextureAtlas  atlas,
AtlasLocation  location 
)
inlinevirtual

Draws this image to the given atlas.

Reimplemented from PowerUI.ImageFormat.

override string [] PowerUI.PictureFormat.GetNames ( )
inlinevirtual

The set of lowercase file types that this format will handle.

Reimplemented from PowerUI.ImageFormat.

Member Data Documentation

Texture2D PowerUI.PictureFormat.Image

The image texture retrieved.

Material PowerUI.PictureFormat.IsolatedMaterial

An isolated material for this image.

Property Documentation

override int PowerUI.PictureFormat.Height
get
override Material PowerUI.PictureFormat.ImageMaterial
get
override int PowerUI.PictureFormat.Width
get