abstract class SceneGraphObjectRetained extends IndexedObject implements java.lang.Cloneable
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
DONT_MERGE |
(package private) boolean |
inBackgroundGroup |
(package private) boolean |
inSetLive |
(package private) static int |
MERGE |
(package private) static int |
MERGE_DONE |
(package private) int |
mergeFlag |
(package private) boolean |
onUpdateList |
(package private) SceneGraphObject |
source |
listIdx| Constructor and Description |
|---|
SceneGraphObjectRetained() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
clearLive()
Makes the internal node not live
|
(package private) void |
clearLive(VirtualUniverse univ,
int index,
boolean sharedGroup,
HashKey[] keys)
Makes the internal node not live
|
protected java.lang.Object |
clone() |
(package private) void |
compile(CompileState compState)
This is the default compile() method, which just marks the sgo as
compiled.
|
(package private) void |
doSetLive(boolean inBackgroundGroup)
Makes the internal node live.
|
(package private) void |
doSetLive(SetLiveState s)
Makes the internal node live.
|
(package private) SceneGraphObject |
getSource()
Returns the cached source object that created this retained mode
object.
|
(package private) VirtualUniverse |
getVirtualUniverse() |
(package private) void |
handleFrequencyChange(int bit) |
(package private) boolean |
isInSetLive() |
(package private) boolean |
isStatic()
true if component can't be read or written after compile or setlive()
|
(package private) void |
markAsLive() |
(package private) void |
merge(CompileState compState) |
(package private) void |
mergeTransform(TransformGroupRetained xform) |
(package private) void |
setCompiled()
This marks this object as compiled.
|
(package private) void |
setLive(boolean inBackgroundGroup) |
(package private) void |
setLive(SetLiveState s) |
(package private) void |
setSource(SceneGraphObject source)
Caches the source object that created this retained mode object.
|
(package private) void |
traverse(boolean sameLevel,
int level) |
getIdxUsed, incIdxUsedSceneGraphObject source
boolean inBackgroundGroup
boolean onUpdateList
boolean inSetLive
static final int DONT_MERGE
static final int MERGE
static final int MERGE_DONE
int mergeFlag
void setSource(SceneGraphObject source)
source - the object which created this retained mode object.SceneGraphObject getSource()
void markAsLive()
void setLive(boolean inBackgroundGroup)
boolean isInSetLive()
void doSetLive(boolean inBackgroundGroup)
void setLive(SetLiveState s)
void doSetLive(SetLiveState s)
void clearLive(VirtualUniverse univ, int index, boolean sharedGroup, HashKey[] keys)
void clearLive()
void setCompiled()
void compile(CompileState compState)
void merge(CompileState compState)
void mergeTransform(TransformGroupRetained xform)
void traverse(boolean sameLevel,
int level)
boolean isStatic()
protected java.lang.Object clone()
clone in class java.lang.Objectvoid handleFrequencyChange(int bit)
VirtualUniverse getVirtualUniverse()
getVirtualUniverse in class IndexedObjectCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.