"styles":["base-style"], // Style list to apply
"name":"image", // }
"image": // } property name : value
{ // }
"filename":"{IMAGES}/b.jpg" //
}, //
"styles":["base-style"], // Style list to apply
"name":"image", // }
"image": // } property name : value
{ // }
"filename":"{IMAGES}/b.jpg" //
}, //
A template has a special 'styles' property which contains a list of
styles to apply when creating using the template.
A template has a special 'styles' property which contains a list of
styles to apply when creating using the template.
stopping with the first matching name.
Typically an application developer will apply the style to the template
stopping with the first matching name.
Typically an application developer will apply the style to the template
{ //
"duration": 10, // Duration in seconds
"loop": false, // Whether to loop.
{ //
"duration": 10, // Duration in seconds
"loop": false, // Whether to loop.
"actor":"image", // Actor found by name from the stage
"property":"rotation", // Property to change
"value":[0, 0.1, 0, 0], // Value to set
"actor":"image", // Actor found by name from the stage
"property":"rotation", // Property to change
"value":[0, 0.1, 0, 0], // Value to set
"path":"path0", // animation.
"forward":[1,0,0], // Forward vector specifies orientation
// whilst travelling along the path
"path":"path0", // animation.
"forward":[1,0,0], // Forward vector specifies orientation
// whilst travelling along the path
"vertex":"", // Glsl vertex program
"fragmentPrefix": "",
"fragment": "", // Glsl fragment program.
"vertex":"", // Glsl vertex program
"fragmentPrefix": "",
"fragment": "", // Glsl fragment program.
- "geometry-hints": "HINT_NONE": // Geometry hints (see DALi documentation)
- "grid-density": 0, // Grid density(see DALi documentation)
+ "geometryHints": "HINT_NONE": // Geometry hints (see DALi documentation)
+ "gridDensity": 0, // Grid density(see DALi documentation)