Component Prototype

Description

Image2D Component

 

Represent a 2D Image component. Displays an image in 2D, when the visible in-slot is set to true. png, jpg, bmp are image file formats supported by this component.

In-slots

Name

Type

Description

visible**

boolean

The component is shown when true and hidden when false.

alignmentOffset**

matrix

This transformation matrix is applied to the component geometry when shown

Out-slots

Name

Type

Description

visible**

boolean

The in-slot is propagated to the out-slot

alignmentOffset**

matrix

This transformation matrix corresponds to the output transformation, which combines input transformation with the dimension and position

Properties

Name

Type

Description

iconFileName*

string

The filename of the icon shown for the component in the authoring environment.

delete

boolean

When true, the image disappears after clicking on it

imageFileName

stringVector

Vector of filename of the background images shown

position**

doubleVector

Values (X and Y) that fix the position of the button

dimension**

doubleVector

Values (X and Y) that fix the dimension of the button

alignment**

integerVector

Values (X and Y) that fix the alignment of the button

depthLevel**

integer

Value that fixes the level of depth of the button

Figure Image 2D