public class ColladaInstanceNode extends ColladaAbstractInstance<ColladaNode> implements ColladaRenderable
instance
CHARACTERS_CONTENT, fields, namespaceURI, parent
Constructor and Description |
---|
ColladaInstanceNode(String ns)
Construct an instance.
|
Modifier and Type | Method and Description |
---|---|
Box |
getLocalExtent(ColladaTraversalContext tc)
Returns this renderable's model coordinate extent.
|
void |
preRender(ColladaTraversalContext tc,
DrawContext dc)
Pre-Render this element.
|
void |
render(ColladaTraversalContext tc,
DrawContext dc)
Render this element.
|
get, getUrl
getRoot
allocate, doAddCharacters, doAddEventAttribute, doAddEventContent, doParseEventAttributes, doParseEventContent, freeResources, getAConstructor, getCharacters, getField, getField, getFields, getNamespaceURI, getParent, hasField, hasField, hasFields, mergeFields, newInstance, overrideFields, parse, parseCharacterContent, removeField, setField, setField, setFields, setNamespaceURI, setParent
public ColladaInstanceNode(String ns)
ns
- the qualifying namespace URI. May be null to indicate no namespace qualification.public Box getLocalExtent(ColladaTraversalContext tc)
ColladaAbstractObject
getLocalExtent
in interface ColladaRenderable
getLocalExtent
in class ColladaAbstractObject
tc
- The traversal context to use when determining the extent.public void preRender(ColladaTraversalContext tc, DrawContext dc)
preRender
in interface ColladaRenderable
tc
- the current COLLADA traversal context.dc
- the current draw context.public void render(ColladaTraversalContext tc, DrawContext dc)
render
in interface ColladaRenderable
tc
- the current COLLADA traversal context.dc
- the current draw context.