Exemplo n.º 1
0
 /// <summary>
 /// Registers a node for rendering it at a specific time. 
 /// </summary>
 /// <param name="node">Node to register for drawing. Usually scene nodes would set 'this' as parameter here because they want to be drawn. </param>
 /// <param name="pass">Specifies when the mode wants to be drawn in relation to the other nodes. For example, if the node is a shadow, it usually wants to be drawn after all other nodes and will use Shadow for this.</param>
 public void RegisterNodeForRendering(SceneNode node, SceneNodeRenderPass pass)
 {
     SceneManager_RegisterNodeForRendering(_raw, node.Raw, pass);
 }
Exemplo n.º 2
0
 static extern void SceneManager_RegisterNodeForRendering(IntPtr scenemanager, IntPtr node, SceneNodeRenderPass pass);