Class AS::Scene::ChunkNode
In: lib/as_scenegraph.rb
Parent: Object

Fancy version of a GroupNode that remembers scenegraph structure.

Methods

<<   []   add_chunk   children   create   delete   delete_chunk   inspect   new   render  

Attributes

root  [R] 

Public Class methods

If a block is supplied, a new GroupNode instance is passed to the block and the render root is set to the SceneNode object returned from the block.

gnode should be a GroupNode to use when adding children. root should be the SceneNode object that SceneNode#render is called on to render the ChunkNode.

Public Instance methods

Calls #<< on the underlying GroupNode.

Find the named ChunkNode.

Calls children on the underlying GroupNode.

Calls delete on the underlying GroupNode.

Calls render on the underlying root SceneNode.

[Validate]