wiki:BMLP

Version 7 (modified by welberge, 7 years ago) (diff)

--

BML behavior extensions for the PictureEngine

A quick overview of the BMLT tags and their syntax. The namespace for BMLT is  http://hmi.ewi.utwente.nl/bmlp, we use bmlp as the prefix for that namespace throughout this document.

<bmlp:setImage>

Sets an image (removing all other images???).

AttributeTypeUseDescription
filePathstringrequiredpath of the imagefile
fileNamestringrequiredname of the imagefile

Example:

<bmlp:setImage id="v1" filePath="images" fileName="image1.png"/>

<bmlp:addImage>

Adds an image to a specific layer (what happens to the previous image on that layer???).

AttributeTypeUseDescription
filePathstringrequiredpath of the imagefile
fileNamestringrequiredname of the imagefile
layerfloatrequiredlayer number

Example:

<bmlp:addImage id="v1" filePath="images" fileName="image1.png" layer="1"/>

<bmlp:addAnimationDir>

TODO: what does this do?

AttributeTypeUseDescription
resourcePathstringrequired??
directoryNamestringrequired??
layerfloatrequiredlayer number

Example:

<bmlp:addAnimationDir id="p1" layer="1" resourcePath="rp" directoryName="dir"/>