Home
Fusion 2.5+
Firefly+
Tutorials+
Videos+
Guides & Tips+
Extensions+
Versions
Teaching


Firefly Image Object

Firefly Image Object

The Firefly Image object allows you to place on the highest level a 2d Image that displays over the Firefly engine rendered scene. Great for HUD elements. From the object's properties you can set multiple images to individual image frames and then call them at runtime.

Firefly Image Object


The Firefly Image object allows you to place on the highest level a 2d Image that displays over the Firefly engine rendered scene. Great for HUD elements. From the object's properties you can set multiple images to individual image frames and then call them at runtime.

 

Actions

  • Images

    • Set Image to Display - Set which image frame you want to display via passing a value in the expression editor.

    • Load Image from file - Using an image selection dialog or a expression manually display a external image in the object

    • Load Image from Surface Object - Replace a image frame with a selected image from a Surface object

  • Drawing

    • Set Destination X Coordinate - Set the upper left corner X position of image

    • Set Destination Y Coordinate -  Set the upper left corner Y position of image

    • Set Destination width - Set object’s the visible space horizontally

    • Set Destination height - Set object’s the visible space vertically

 

Conditions

  • Compare displayed image to a value - Compare the displayed image in a image object against a value using expression editor.

 

Expressions

  • Images

    • Get displayed image index - returns the value of the currently displayed image frame

    • Get image width - Get the width of the currently displayed image frame

    • Get image height - Get the height of the currently displayed image frame

  • Get object width - return objects set width of display space

  • Get object height - return objects set height of display space

  • Drawing

    • Get destination X coordinate - return the left corner X position

    • Get destination Y coordinate - return the left corner Y position

    • Get destination width - return the size of the visible space horizontally

    • Get destination height- return the size of the visible space vertically




Spread the word!



You can share this document using the following buttons.




Submit your own User Tip