public class ColladaVisualScene extends ColladaAbstractObject implements ColladaRenderable
| Modifier and Type | Field and Description |
|---|---|
protected List<ColladaNode> |
nodes
Nodes in this scene.
|
CHARACTERS_CONTENT, fields, namespaceURI, parent| Constructor and Description |
|---|
ColladaVisualScene(String ns)
Construct an instance.
|
| Modifier and Type | Method and Description |
|---|---|
Box |
getLocalExtent(ColladaTraversalContext tc)
Returns this renderable's model coordinate extent.
|
List<ColladaNode> |
getNodes()
Indicates the nodes in the scene.
|
void |
preRender(ColladaTraversalContext tc,
DrawContext dc)
Pre-Render this element.
|
void |
render(ColladaTraversalContext tc,
DrawContext dc)
Render this element.
|
void |
setField(String keyName,
Object value) |
getRootallocate, doAddCharacters, doAddEventAttribute, doAddEventContent, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setFields, setNamespaceURI, setParentprotected List<ColladaNode> nodes
public ColladaVisualScene(String ns)
ns - the qualifying namespace URI. May be null to indicate no namespace qualification.public Box getLocalExtent(ColladaTraversalContext tc)
ColladaAbstractObjectgetLocalExtent in interface ColladaRenderablegetLocalExtent in class ColladaAbstractObjecttc - The traversal context to use when determining the extent.public List<ColladaNode> getNodes()
public void preRender(ColladaTraversalContext tc, DrawContext dc)
preRender in interface ColladaRenderabletc - the current COLLADA traversal context.dc - the current draw context.public void render(ColladaTraversalContext tc, DrawContext dc)
render in interface ColladaRenderabletc - the current COLLADA traversal context.dc - the current draw context.public void setField(String keyName, Object value)
setField in class AbstractXMLEventParser