class LinearFogRetained extends FogRetained
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
BACK_DISTANCE_CHANGED |
private double |
backDistance |
private double |
backDistanceInEc |
(package private) static int |
FRONT_DISTANCE_CHANGED |
private double |
frontDistance
Fog front and back distance
|
private double |
frontDistanceInEc |
boundingLeaf, BOUNDINGLEAF_CHANGED, BOUNDS_CHANGED, CLEAR_MIRROR, color, COLOR_CHANGED, environmentSets, inImmCtx, INIT_MIRROR, isDirty, isScoped, isViewScoped, LAST_DEFINED_BIT, mirrorFog, region, regionOfInfluence, SCOPE_CHANGED, scopes, sgFog, targetThreads, tempKeyboundsDirty, switchStateALTERNATEAPPEARANCE, AMBIENTLIGHT, apiBounds, BACKGROUND, BACKGROUNDSOUND, BEHAVIOR, BOUNDINGLEAF, boundsAutoCompute, BRANCHGROUP, branchGroupPaths, cachedBounds, childIndex, CLIP, collidable, CONESOUND, CONTAINS_VIEWPLATFORM, CURRENT_LOCAL_TO_VWORLD, DECALGROUP, DIRECTIONALLIGHT, EXPONENTIALFOG, geometryBackground, GROUP, inSharedGroup, LAST_LOCAL_TO_VWORLD, LINEARFOG, LINK, localBounds, locale, localToVworld, localToVworldIndex, localToVworldKeys, MODELCLIP, MORPH, nnuId, nodeId, nodeType, NUMNODES, ORDEREDGROUP, orderedId, ORIENTEDSHAPE3D, parent, parentSwitchLink, parentTransformLink, pickable, POINTLIGHT, POINTSOUND, refCount, SHAPE, SHAREDGROUP, SOUNDSCAPE, SPOTLIGHT, staticTransform, SWITCH, TRANSFORMGROUP, universe, validCachedBounds, VIEWPLATFORM, VIEWSPECIFICGROUPDONT_MERGE, inBackgroundGroup, inSetLive, MERGE, MERGE_DONE, mergeFlag, onUpdateList, sourcelistIdx| Constructor and Description |
|---|
LinearFogRetained() |
| Modifier and Type | Method and Description |
|---|---|
(package private) double |
getBackDistance()
Gets back distance for fog
|
(package private) double |
getFrontDistance()
Gets front distance for fog
|
(package private) void |
initBackDistance(double backDistance)
Initializes back distance for fog
|
(package private) void |
initFrontDistance(double frontDistance)
Initializes front distance for fog before the object is live
|
(package private) void |
setBackDistance(double backDistance)
Sets back distance for fog
|
(package private) void |
setFrontDistance(double frontDistance)
Sets front distance for fog and sends a message
|
(package private) void |
setLive(SetLiveState s)
This setLive routine just calls the superclass's method (after
checking for use by an immediate context).
|
(package private) void |
update(Context ctx,
double scale)
This method and its native counterpart update the native context
fog values.
|
(package private) void |
updateMirrorObject(java.lang.Object[] objs)
The update Object function.
|
protected void |
validateDistancesInEc(double vworldToCoexistenceScale)
Scale distances from local to eye coordinate
|
addScope, clearLive, clearMirrorObject, clone, getAllScopes, getColor, getInfluencingBoundingLeaf, getInfluencingBounds, getInImmCtx, getLocalToVworldScale, getMirrorObjects, getScope, indexOfScope, initAddScope, initColor, initColor, initInfluencingBoundingLeaf, initInfluencingBounds, initInsertScope, initMirrorObject, initRemoveAllScopes, initRemoveScope, initRemoveScope, initScope, insertScope, isScoped, mergeTransform, numScopes, removeAllScopes, removeScope, removeScope, sendMessage, setColor, setColor, setInfluencingBoundingLeaf, setInfluencingBounds, setInImmCtx, setLocalToVworldScale, setScope, updateBoundingLeaf, updateImmediateMirrorObject, updateImmediateTransformChange, updateTransformChangeclone, updateBoundscomputeCombineBounds, computeNonLiveLocalToVworld, dirtyBoundsCache, doSetLive, equal, findCollidableFlags, findPickableFlags, findTransformLevels, getBounds, getBoundsAutoCompute, getCollidable, getCurrentLocalToVworld, getCurrentLocalToVworld, getCurrentLocalToVworld, getEffectiveBounds, getId, getLastLocalToVworld, getLastLocalToVworld, getLastLocalToVworld, getLocalBounds, getLocale, getLocalToVworld, getLocalToVworld, getLocalToVworld, getParent, getPickable, getVirtualUniverse, isStatic, merge, notifySceneGraphChanged, processViewSpecificInfo, recombineAbove, removeNodeData, searchGeometryAtoms, setAuxData, setBounds, setBoundsAutoCompute, setCollidable, setNodeData, setParent, setPickable, transformBounds, updateCollidable, updateLocalToVworld, updatePickableclearLive, clearLive, compile, doSetLive, getSource, handleFrequencyChange, isInSetLive, markAsLive, setCompiled, setLive, setSource, traversegetIdxUsed, incIdxUsedprivate double frontDistance
private double backDistance
private double frontDistanceInEc
private double backDistanceInEc
static final int FRONT_DISTANCE_CHANGED
static final int BACK_DISTANCE_CHANGED
void initFrontDistance(double frontDistance)
void setFrontDistance(double frontDistance)
double getFrontDistance()
void initBackDistance(double backDistance)
void setBackDistance(double backDistance)
double getBackDistance()
void update(Context ctx, double scale)
update in class FogRetainedvoid setLive(SetLiveState s)
FogRetainedsetLive in class FogRetainedvoid updateMirrorObject(java.lang.Object[] objs)
FogRetainedupdateMirrorObject in class FogRetainedprotected void validateDistancesInEc(double vworldToCoexistenceScale)
validateDistancesInEc in class FogRetainedCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.