public class NGLightBase extends NGNode
NGNode.DirtyFlag, NGNode.RenderRootResult
Modifier and Type | Field and Description |
---|---|
private Color |
color |
private boolean |
lightOn |
(package private) java.lang.Object[] |
scopedNodes |
private Affine3D |
worldTransform |
childDirty, contentBounds, cullingBits, dirty, DIRTY_CHILDREN_ACCUMULATED_THRESHOLD, DIRTY_REGION_CONTAINS_NODE_BOUNDS, DIRTY_REGION_CONTAINS_OR_INTERSECTS_NODE_BOUNDS, DIRTY_REGION_INTERSECTS_NODE_BOUNDS, dirtyBounds, dirtyChildrenAccumulated, TEMP_TRANSFORM, transformedBounds
Modifier | Constructor and Description |
---|---|
protected |
NGLightBase() |
Modifier and Type | Method and Description |
---|---|
(package private) boolean |
affects(NGShape3D n3d) |
protected void |
doRender(Graphics g)
Invoked only by the final render method.
|
Color |
getColor() |
Affine3D |
getWorldTransform() |
protected boolean |
hasOverlappingContents() |
boolean |
isLightOn() |
void |
release()
*
Stuff *
*
|
protected void |
renderContent(Graphics g) |
void |
setColor(java.lang.Object value) |
void |
setLightOn(boolean value) |
void |
setScope(java.lang.Object[] scopedNodes) |
void |
setTransformMatrix(BaseTransform tx)
Called by the FX scene graph to tell us what our transform matrix is.
|
void |
setWorldTransform(Affine3D localToSceneTx) |
accumulateDirtyRegions, accumulateGroupDirtyRegion, accumulateNodeDirtyRegion, applyClip, applyEffect, applyTransform, checkBoundsInQuad, clearDirty, clearDirtyTree, clearPainted, computeNodeRenderRoot, computeOpaqueRegion, computePadding, computeRenderRoot, doPreCulling, drawDirtyOpts, effectChanged, geometryChanged, getCacheFilter, getClipNode, getClippedBounds, getCompleteBounds, getContentBounds, getEffect, getEffectBounds, getEffectFilter, getFilterContext, getName, getNodeBlendMode, getOpacity, getOpaqueRegion, getParent, getRenderRoot, getTransform, hasOpaqueRegion, hasVisuals, invalidateCache, invalidateCacheByTranslation, invalidateOpaqueRegion, isClean, isContentBounds2D, isDepthTest, isOpaqueRegionInvalid, isReadbackSupported, isRectClip, isShape3D, isVisible, markCullRegions, markDirty, markTreeDirty, markTreeDirtyNoIncrement, needsBlending, printDirtyOpts, render, renderClip, renderEffect, renderForcedContent, renderForClip, setCachedAsBitmap, setClipNode, setContentBounds, setDepthTest, setEffect, setName, setNodeBlendMode, setOpacity, setParent, setTransformedBounds, setVisible, supportsOpaqueRegions, toString, visualsChanged
private Color color
private boolean lightOn
private Affine3D worldTransform
java.lang.Object[] scopedNodes
public void setTransformMatrix(BaseTransform tx)
NGNode
setTransformMatrix
in class NGNode
tx
- must not be nullprotected void doRender(Graphics g)
NGNode
protected void renderContent(Graphics g)
renderContent
in class NGNode
protected boolean hasOverlappingContents()
hasOverlappingContents
in class NGNode
public Color getColor()
public void setColor(java.lang.Object value)
public boolean isLightOn()
public void setLightOn(boolean value)
public Affine3D getWorldTransform()
public void setWorldTransform(Affine3D localToSceneTx)
public void setScope(java.lang.Object[] scopedNodes)
final boolean affects(NGShape3D n3d)