Background2DProxy :
DrawableImage :
DrawableNode :
Traversable
url |
Yes. |
set_bind |
No. |
objectDescriptorID |
Yes. |
isBound |
No. |
translation |
Not applicable. |
scaling |
No. |
rotation |
No. |
This class inherits all of its functionality from the DrawableImage class. The only difference is that after DrawableImage::PreRender() has positioned the bounding rectangle, Background2DProxy::PreRender() will set the top-left corner of the bounding rectangle to be the top-left of the screen. This in effect ignores the effect of any translation field of any Transform2D node that is currently in effect, to ensure that the background image is displayed at the top-left of the screen.
The current implementation only supports one Background2D node. Switching between different Background2D nodes using the set_bind eventIn is currently not supported.