Loonim.MaterialStackNode Class Reference
Inheritance diagram for Loonim.MaterialStackNode:
Loonim.DrawStackNode Loonim.MaterialStackNodeCleared

Public Member Functions

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...
 

Public Attributes

Mesh Mesh
 The mesh to draw. More...
 
DrawStack Stack
 The stack that this material outputs to. More...
 
Material Material
 The material to draw. More...
 

Properties

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...
 

Member Function Documentation

override void Loonim.MaterialStackNode.Draw ( DrawInfo  info)
inlinevirtual

Draws this node now.

Reimplemented from Loonim.DrawStackNode.

override void Loonim.MaterialStackNode.WriteTo ( Texture2D  image,
DrawInfo  info,
ref Color[]  pixels 
)
inlinevirtual

Writes Texture to the given one, filling it.

Reimplemented from Loonim.DrawStackNode.

Member Data Documentation

Material Loonim.MaterialStackNode.Material

The material to draw.

Mesh Loonim.MaterialStackNode.Mesh

The mesh to draw.

DrawStack Loonim.MaterialStackNode.Stack

The stack that this material outputs to.

Property Documentation

override Material Loonim.MaterialStackNode.NodeMaterial
get
override Texture Loonim.MaterialStackNode.Texture
get