image-20240919-140410.png

The DataImage plug-in changes the image or texture applied to the container. 

Note: This plug-in is located in: Plugins -> Container plug-ins -> Data

Information: DataPool plug-ins only work properly on a single channel on the same machine.

The data specifies the name of the image applied to the container.

DataImage Properties

  • Set MaterialDefinition BaseColor: Sets the given image as BaseColor channel on a V4 PBR Material.

  • Set MaterialDefinition Emissive: Sets the given image as Emissive channel on a V4 PBR Material.

Format

Image names should have the format:

  • IMAGE*<name>: Where <name> is the full path to an image in Viz images library. The prefix IMAGE* can be omitted from the name.

  • BUILT_IN*IMAGE*<name>: For special built-in images like VIDEO1, VIDEO2

Note: The container must have an initial image attached to it for the plug-in to take effect.

Example

A container with three children and with a DataImage plug-in attached to it. If the Field Name is IMAGES[3] and the data is entered as IMAGES[0-2]=IMAGE*image1, IMAGE*image2, BUILT_IN*IMAGE*VIDEO1; then the first child shows image1, the second image2 and the third shows VIDEO1.