TreeNode

TreeNode
Scaleform::Render::TreeNode
Declaration
class TreeNode : public Context::Entry;
Description

TreeNode represents a tree node in the rendering tree. 

TreeNode is the base class for representing Flash shapes, triangles, texts in the rendering tree.

Classes
Class 
Description 
Represents the data in the tree node. 
Methods
Method 
Description 
Appends the matrices of the node’s ancestors to the passed in matrix. 
Calculates the view matrix of the tree node. 
Clears the 3D transform matrix applied on the tree node. 
Clears the projection matrix on the tree node. 
Clears the view matrix on the tree node. 
Clones TreeNode and subtree, potentially in new context. 
Copies all matrices, cxform, visibility from src to 'this' node. 
Disables the batched drawing. 
Returns the approximated bounds in local coordinates. 
Returns the approximated bounds in parent coordinates. 
Returns the blend mode used by the rendering tree. 
Returns the color transformation applied to all rendering nodes. 
Returns the EdgeAA state set on the node. 
Returns the node flags set on the tree node indicating the states set such as visible, mask node etc. 
Returns the filters applied on the node. 
Returns the tree node that is set as the mask node. 
Returns the tree node that is set as the mask node. 
Returns the parent node/root node of the rendering tree. 
Returns the projection matrix set on the tree node for drawing 3D movie clips. 
Returns the Scale9Grid set on the tree node. 
Obtains the render state set on the node of the rendering tree. 
Returns the float value that is set as user data on the movie clip. 
Returns the string value that is set as user data on the movie clip. 
Returns the view matrix set on the tree node for drawing 3D movie clips. 
 
Determines if this node has a mask applied. 
Determines if this node has any filters applied. 
Determines if this node has a projection matrix applied for drawing 3D movie clips. 
Determines if this node has Scale9Grid applied. 
Determines if this node has a view matrix applied on it for drawing 3D movie clips. 
Determines if batching of mesh generation for custom drawing is disabled or not. 
Determines if the TreeNode is itself a mask node (root of mask applied elsewhere). 
Determines if this node is part of a mask applied elsewhere???? 
Determines whether the tree node is a visible node or not. 
Is3D 
Determines if the TreeNode has a 3D transform matrix applied to it. 
 
M2D 
Provides access to the TreeNode Matrix as a 2D matrix. 
M3D 
Provides access to the TreeNode Matrix as a 3D matrix. 
Sets the blend mode used by the rendering tree. 
Sets the color transformation applied to all rendering nodes. 
Sets the EdgeAA state on the node. 
Sets the tree node as a mask node (root of mask). 
Sets the 2D transform matrix on the tree node. 
Sets the 3D transform matrix on the tree node. 
Sets the projection matrix on the tree node for drawing 3D movie clips. 
Sets float value as user data on the movie clip 
Sets string value as user data on the movie clip. 
 
Sets the view matrix on the tree node for drawing 3D movie clips. 
Sets the filter on the node of the rendering tree. 
Sets original mask's parent on the tree node. 
Sets a Scale9Grid on the tree node. 
Sets the tree node to be a visible node. 
File

Render_TreeNode.h