public class NGLightBase extends NGNode
NGNode.DirtyFlag, NGNode.RenderRootResult
childDirty, contentBounds, cullingBits, dirty, DIRTY_CHILDREN_ACCUMULATED_THRESHOLD, dirtyChildrenAccumulated, TEMP_TRANSFORM, transformedBounds
Modifier | Constructor and Description |
---|---|
protected |
NGLightBase() |
Modifier and Type | Method and Description |
---|---|
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(Object value) |
void |
setLightOn(boolean value) |
void |
setScope(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, applyClip, applyEffect, applyTransform, clearDirty, clearDirtyTree, clearPainted, computeOpaqueRegion, computePadding, doPreCulling, drawDirtyOpts, effectChanged, geometryChanged, 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, render, renderEffect, renderForcedContent, setCachedAsBitmap, setClipNode, setContentBounds, setDepthTest, setEffect, setName, setNodeBlendMode, setOpacity, setParent, setTransformedBounds, setVisible, supportsOpaqueRegions, toString, visualsChanged
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(Object value)
public boolean isLightOn()
public void setLightOn(boolean value)
public Affine3D getWorldTransform()
public void setWorldTransform(Affine3D localToSceneTx)
public void setScope(Object[] scopedNodes)
Copyright © 2020. All rights reserved.