A smart canvas object.
A smart canvas is a container object that will draw its child objects within its own bounding rectangle (size). It has many similarities with a Canvas but does not utilize an internal texture unless it is necessary (see remarks).
Remarks: When a smart canvas has a non-white color, less than 100% opacity or a non-normal blending mode, it will be rendered as a Canvas. Its texture resolution will be automatically calculated for optimal visual quality. This is the "smarts" in SmartCanvas.
See also: <Canvas>
|dynamic||Enable/disable dynamic (smart) rendering|
|flip||Flip image vertically|
|mirror||Flip image horizontally|
Additionally, this asset type inherits all object attributes.
Set this to false to disable smart rendering.
Default value: true
dynamic = "false"
Set to true to vertically reverse texture.
flip = "true"
Set to true to horizontally reverse texture.
mirror = "true"
Valid child tags
|<Traits>||Object traits list|
Valid meta class values
|"actor"||Hint to editor that this object is a character/actor.|
<SmartCanvas name="My canvas" size="300,300" > <Image texture="My texture" /> <Border texture="My other texture" /> </SmartCanvas>