/** {@inheritDoc} */ public void render(ColladaTraversalContext tc, DrawContext dc) { ColladaInstanceVisualScene sceneInstance = this.getInstanceVisualScene(); if (sceneInstance != null) { sceneInstance.render(tc, dc); } }
/** * Indicates the value of the <i>instance_visual_scene</i> field. * * @return The value of the <i>instance_visual_scene</i> field, or null if the field is not set. */ protected ColladaInstanceVisualScene getInstanceVisualScene() { if (!this.sceneFetched) { this.instanceVisualScene = (ColladaInstanceVisualScene)this.getField("instance_visual_scene"); this.sceneFetched = true; } return(this.instanceVisualScene); }
public Box getLocalExtent(ColladaTraversalContext tc) { if (tc == null) { String message = Logging.getMessage("nullValue.TraversalContextIsNull"); Logging.logger().severe(message); throw new ArgumentException(message); } ColladaInstanceVisualScene sceneInstance = this.getInstanceVisualScene(); return(sceneInstance != null?sceneInstance.getLocalExtent(tc) : null); }