public class NGSubScene extends NGNode
NGNode.DirtyFlag, NGNode.RenderRootResultchildDirty, contentBounds, cullingBits, dirty, DIRTY_CHILDREN_ACCUMULATED_THRESHOLD, dirtyChildrenAccumulated, TEMP_TRANSFORM, transformedBounds| Constructor and Description |
|---|
NGSubScene(boolean depthBuffer,
boolean msaa) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
geometryChanged() |
NGCamera |
getCamera() |
NGLightBase[] |
getLights() |
protected boolean |
hasOverlappingContents() |
void |
markContentDirty() |
protected void |
renderContent(Graphics g) |
void |
renderForcedContent(Graphics gOptional)
Called on every render pulse for all nodes in case they have render-time
operations that must be completed on a pulse, but were not otherwise
rendered by the ordinary damage management logic.
|
void |
setCamera(NGCamera camera) |
void |
setFillPaint(Object paint) |
void |
setHeight(float height) |
void |
setLights(NGLightBase[] lights) |
void |
setRoot(NGNode root) |
void |
setWidth(float width) |
protected void |
visualsChanged()
Invoked by subclasses whenever some change to the geometry or visuals
has occurred.
|
accumulateDirtyRegions, applyClip, applyEffect, applyTransform, clearDirty, clearDirtyTree, clearPainted, computeOpaqueRegion, computePadding, doPreCulling, doRender, drawDirtyOpts, effectChanged, getCacheFilter, getClipNode, getClippedBounds, getCompleteBounds, getContentBounds, getEffect, getEffectBounds, getEffectFilter, getName, getNodeBlendMode, getOpacity, getOpaqueRegion, getParent, getRenderRoot, getTransform, hasOpaqueRegion, hasVisuals, invalidateCache, invalidateCacheByTranslation, invalidateOpaqueRegion, isClean, isContentBounds2D, isDepthTest, isRectClip, isVisible, markDirty, markTreeDirty, markTreeDirtyNoIncrement, needsBlending, printDirtyOpts, release, render, renderEffect, setCachedAsBitmap, setClipNode, setContentBounds, setDepthTest, setEffect, setName, setNodeBlendMode, setOpacity, setParent, setTransformedBounds, setTransformMatrix, setVisible, supportsOpaqueRegions, toStringpublic void setRoot(NGNode root)
public void setFillPaint(Object paint)
public void setCamera(NGCamera camera)
public void setWidth(float width)
public void setHeight(float height)
public NGLightBase[] getLights()
public void setLights(NGLightBase[] lights)
public void markContentDirty()
protected void visualsChanged()
NGNodevisualsChanged in class NGNodeprotected void geometryChanged()
geometryChanged in class NGNodeprotected boolean hasOverlappingContents()
hasOverlappingContents in class NGNodepublic void renderForcedContent(Graphics gOptional)
NGNoderenderForcedContent in class NGNodegOptional - the Graphics object that was used to render the
Scene, or nullprotected void renderContent(Graphics g)
renderContent in class NGNodepublic NGCamera getCamera()
Copyright © 2025. All rights reserved.