Top Description Fields Constructors Methods
com.sun.javafx.sg.prism

public Class NGLightBase

extends NGNode
Class Inheritance
Known Direct Subclasses
com.sun.javafx.sg.prism.NGPointLight, com.sun.javafx.sg.prism.NGAmbientLight, com.sun.javafx.sg.prism.NGDirectionalLight
Imports
java.util.List, com.sun.javafx.geom.transform.Affine3D, .BaseTransform, com.sun.prism.Graphics, com.sun.prism.paint.Color

Todo

3D - Need documentation

Field Summary

Modifier and TypeField and Description
private Color
pack-priv List<NGNode>
private boolean
pack-priv List<NGNode>
private Affine3D
Inherited from com.sun.javafx.sg.prism.NGNode:
childDirtycontentBoundscullingBitsdirtyDIRTY_CHILDREN_ACCUMULATED_THRESHOLDDIRTY_REGION_CONTAINS_NODE_BOUNDSDIRTY_REGION_CONTAINS_OR_INTERSECTS_NODE_BOUNDSDIRTY_REGION_INTERSECTS_NODE_BOUNDSdirtyBoundsdirtyChildrenAccumulatedTEMP_TRANSFORMtransformedBounds

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
pack-priv final boolean
protected void
doRender(Graphics g)

Overrides com.sun.javafx.sg.prism.NGNode.doRender.

Invoked only by the final render method.

public Color
public Affine3D
protected boolean
public boolean
public void
protected void
public void
public void
setExclusionScope(List<NGNode> excludedNodes)

public void
setLightOn(boolean value)

public void
setScope(List<NGNode> scopedNodes)

public void
setTransformMatrix(BaseTransform tx)

Overrides com.sun.javafx.sg.prism.NGNode.setTransformMatrix.

Called by the FX scene graph to tell us what our transform matrix is.

public void
setWorldTransform(Affine3D localToSceneTx)

Inherited from com.sun.javafx.sg.prism.NGNode:
accumulateDirtyRegionsaccumulateGroupDirtyRegionaccumulateNodeDirtyRegionapplyClipapplyEffectapplyTransformcheckBoundsInQuadclearDirtyclearPaintedcomputeNodeRenderRootcomputeOpaqueRegioncomputePaddingcomputeRenderRootdoPreCullingdrawDirtyOptseffectChangedgeometryChangedgetCacheFiltergetClipNodegetClippedBoundsgetCompleteBoundsgetContentBoundsgetEffectgetEffectBoundsgetEffectFiltergetFilterContextgetNamegetNodeBlendModegetOpacitygetOpaqueRegiongetParentgetRenderRootgetTransformhasOpaqueRegionhasVisualsinvalidateCacheinvalidateCacheByTranslationinvalidateOpaqueRegionisCleanisContentBounds2DisDepthTestisOpaqueRegionInvalidisReadbackSupportedisRectClipisShape3DisVisiblemarkCullRegionsmarkDirtymarkTreeDirtymarkTreeDirtyNoIncrementneedsBlendingprintDirtyOptsrenderrenderCliprenderEffectrenderForcedContentrenderForClipsetCachedAsBitmapsetClipNodesetContentBoundssetDepthTestsetEffectsetNamesetNodeBlendModesetOpacitysetParentsetTransformedBoundssetViewOrdersetVisiblesupportsOpaqueRegionstoStringvisualsChanged

Field Detail

colorback to summary
private Color color
excludedNodesback to summary
pack-priv List<NGNode> excludedNodes
lightOnback to summary
private boolean lightOn
scopedNodesback to summary
pack-priv List<NGNode> scopedNodes
worldTransformback to summary
private Affine3D worldTransform

Constructor Detail

NGLightBaseback to summary
protected NGLightBase()

Method Detail

affectsback to summary
pack-priv final boolean affects(NGShape3D n3d)
doRenderback to summary
protected void doRender(Graphics g)

Overrides com.sun.javafx.sg.prism.NGNode.doRender.

Doc from com.sun.javafx.sg.prism.NGNode.doRender.

Invoked only by the final render method. Implementations of this method should make sure to save & restore the transform state.

Annotations
@Override
getColorback to summary
public Color getColor()
getWorldTransformback to summary
public Affine3D getWorldTransform()
hasOverlappingContentsback to summary
protected boolean hasOverlappingContents()

Implements abstract com.sun.javafx.sg.prism.NGNode.hasOverlappingContents.

Annotations
@Override
isLightOnback to summary
public boolean isLightOn()
releaseback to summary
public void release()

Overrides com.sun.javafx.sg.prism.NGNode.release.

Doc from com.sun.javafx.sg.prism.NGNode.release.

* Stuff * *

Annotations
@Override
renderContentback to summary
protected void renderContent(Graphics g)

Implements abstract com.sun.javafx.sg.prism.NGNode.renderContent.

Annotations
@Override
setColorback to summary
public void setColor(Object value)
setExclusionScopeback to summary
public void setExclusionScope(List<NGNode> excludedNodes)
setLightOnback to summary
public void setLightOn(boolean value)
setScopeback to summary
public void setScope(List<NGNode> scopedNodes)
setTransformMatrixback to summary
public void setTransformMatrix(BaseTransform tx)

Overrides com.sun.javafx.sg.prism.NGNode.setTransformMatrix.

Doc from com.sun.javafx.sg.prism.NGNode.setTransformMatrix.

Called by the FX scene graph to tell us what our transform matrix is.

Annotations
@Override
setWorldTransformback to summary
public void setWorldTransform(Affine3D localToSceneTx)