DepthComponentFloat
, DepthComponentInt
, DepthComponentNative
public abstract class DepthComponent extends NodeComponent
Modifier and Type | Field | Description |
---|---|---|
static int |
ALLOW_DATA_READ |
Specifies that this DepthComponent object allows reading its
depth data component information.
|
static int |
ALLOW_SIZE_READ |
Specifies that this DepthComponent object allows reading its
size component information (width and height).
|
Modifier and Type | Method | Description |
---|---|---|
int |
getHeight() |
Retrieves the height of this depth component object.
|
int |
getWidth() |
Retrieves the width of this depth component object.
|
cloneNodeComponent, cloneNodeComponent, duplicateNodeComponent, duplicateNodeComponent, getDuplicateOnCloneTree, setDuplicateOnCloneTree
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
clearCapability, clearCapabilityIsFrequent, duplicateSceneGraphObject, getCapability, getCapabilityIsFrequent, getName, getUserData, isCompiled, isLive, setCapability, setCapabilityIsFrequent, setName, setUserData, toString, updateNodeReferences
public static final int ALLOW_SIZE_READ
public static final int ALLOW_DATA_READ
public int getWidth()
CapabilityNotSetException
- if appropriate capability is
not set and this object is part of live or compiled scene graphpublic int getHeight()
CapabilityNotSetException
- if appropriate capability is
not set and this object is part of live or compiled scene graphCopyright 1996-2008 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.