Lysa.ui  0.0
Lysa 3D Engine
IconImage Class Referenceabstract

Detailed Description

A 2-D image fitted into the widget rectangle.

Inherits from: Icon

Lua full name: lysa.ui.IconImage

Public Member Functions

nil set_image (image: lysa.Image)
 Sets the displayed image from an existing GPU Image object. More...
 
nil set_image (uri: string)
 Loads and sets the displayed image from the given virtual URI. More...
 

Properties

lysa.Image image
 The GPU image currently displayed, or nil if none is set. (read-only)
 

Member Function Documentation

nil set_image ( lysa.Image  image)

Sets the displayed image from an existing GPU Image object.

Parameters
imagelysa.Image
nil set_image ( string  uri)

Loads and sets the displayed image from the given virtual URI.

Parameters
uristring

Property Documentation

lysa.Image image

The GPU image currently displayed, or nil if none is set. (read-only)