public abstract class NGShape3D extends NGNode
NGNode.DirtyFlag, NGNode.RenderRootResult
Modifier and Type | Field and Description |
---|---|
private CullFace |
cullFace |
private DrawMode |
drawMode |
private boolean |
drawModeDirty |
private NGPhongMaterial |
material |
private boolean |
materialDirty |
(package private) NGTriangleMesh |
mesh |
private MeshView |
meshView |
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
Constructor and Description |
---|
NGShape3D() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
hasOverlappingContents() |
(package private) void |
invalidate() |
(package private) boolean |
isShape3D() |
void |
release()
*
Stuff *
*
|
protected void |
renderContent(Graphics g) |
private void |
renderMeshView(Graphics g) |
private static float |
saturate(float value) |
void |
setCullFace(java.lang.Object cullFace) |
void |
setDrawMode(java.lang.Object drawMode) |
void |
setMaterial(NGPhongMaterial material) |
void |
setMesh(NGTriangleMesh triangleMesh) |
accumulateDirtyRegions, accumulateGroupDirtyRegion, accumulateNodeDirtyRegion, applyClip, applyEffect, applyTransform, checkBoundsInQuad, clearDirty, clearDirtyTree, clearPainted, computeNodeRenderRoot, computeOpaqueRegion, computePadding, computeRenderRoot, doPreCulling, doRender, 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, isVisible, markCullRegions, markDirty, markTreeDirty, markTreeDirtyNoIncrement, needsBlending, printDirtyOpts, render, renderClip, renderEffect, renderForcedContent, renderForClip, setCachedAsBitmap, setClipNode, setContentBounds, setDepthTest, setEffect, setName, setNodeBlendMode, setOpacity, setParent, setTransformedBounds, setTransformMatrix, setVisible, supportsOpaqueRegions, toString, visualsChanged
private NGPhongMaterial material
private DrawMode drawMode
private CullFace cullFace
private boolean materialDirty
private boolean drawModeDirty
NGTriangleMesh mesh
private MeshView meshView
public void setMaterial(NGPhongMaterial material)
public void setDrawMode(java.lang.Object drawMode)
public void setCullFace(java.lang.Object cullFace)
void invalidate()
private void renderMeshView(Graphics g)
private static float saturate(float value)
public void setMesh(NGTriangleMesh triangleMesh)
protected void renderContent(Graphics g)
renderContent
in class NGNode
protected boolean hasOverlappingContents()
hasOverlappingContents
in class NGNode