The same as a MaterialStackNode only this optionally clears before it draws.
Public Member Functions | |
| override void | Draw (DrawInfo info) |
| Draws this node now. More... | |
Public Member Functions inherited from Loonim.MaterialStackNode | |
| override void | Draw (DrawInfo info) |
| Draws this node now. More... | |
| override void | WriteTo (Texture2D image, DrawInfo info, ref Color[] pixels) |
| Writes Texture to the given one, filling it. More... | |
Properties | |
| override bool | Clear [get, set] |
Properties inherited from Loonim.MaterialStackNode | |
| override Texture | Texture [get] |
| override Material | NodeMaterial [get] |
Properties inherited from Loonim.DrawStackNode | |
| virtual Texture | Texture [get] |
| virtual Material | NodeMaterial [get] |
| virtual bool | Clear [get, set] |
| Set if this node should transparent clear (GL.Clear) right before it draws. Only applies to nodes which use MaterialStackNodeCleared. More... | |
Private Attributes | |
| bool | Clear_ =true |
| Clears by default. More... | |
Additional Inherited Members | |
Public Attributes inherited from Loonim.MaterialStackNode | |
| Mesh | Mesh |
| The mesh to draw. More... | |
| DrawStack | Stack |
| The stack that this material outputs to. More... | |
| Material | Material |
| The material to draw. More... | |
|
inlinevirtual |
Draws this node now.
Reimplemented from Loonim.DrawStackNode.
|
private |
Clears by default.
|
getset |