|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xith3d.scenegraph.SceneGraphObject
org.xith3d.scenegraph.NodeComponent
org.xith3d.scenegraph.PointAttributes
public class PointAttributes
PointAttributes defines attributes that apply to .
| Field Summary |
|---|
| Fields inherited from class org.xith3d.scenegraph.SceneGraphObject |
|---|
XITH3D_USERDATAKEY_OLDUSERDATA |
| Constructor Summary | |
|---|---|
PointAttributes()
Constructs a new PointAttributes object. |
|
PointAttributes(float pointSize,
boolean antialiasing)
Constructs a new PointAttributes object with the specified color. |
|
| Method Summary | |
|---|---|
PointAttributes |
cloneNodeComponent(boolean forceDuplicate)
|
int |
compareTo(PointAttributes o)
|
protected void |
duplicateNodeComponent(NodeComponent original,
boolean forceDuplicate)
|
boolean |
equals(java.lang.Object o)
|
void |
freeOpenGLResources(CanvasPeer canvasPeer)
This method frees OpenGL resources (names) for all this NodeComponent and all child-components. |
PointAttributes |
getCopy()
|
float |
getPointSize()
Get the point size. |
long |
getStateId()
|
StateNode |
getStateNode()
|
boolean |
isPointAntialiasingEnabled()
Get antialiasing. |
boolean |
isSortEnabled()
|
void |
setPointAntialiasingEnabled(boolean state)
Set antialiasing . |
void |
setPointSize(float pointSize)
Set the point size. |
void |
setSortEnabled(boolean sortEnabled)
Enables or disables transaprency sorting for this shape. |
void |
setStateNode(StateNode node)
Used by the render engine to set the state id for the node. |
| Methods inherited from class org.xith3d.scenegraph.NodeComponent |
|---|
freeOpenGLResources, getDuplicateOnCloneTree, getModListener, isChanged, isChanged2, setChanged, setDuplicateOnCloneTree, setModListener |
| Methods inherited from class org.xith3d.scenegraph.SceneGraphObject |
|---|
getName, getUserData, getUserData, getUserDataMap, isLive, setLive, setName, setUserData, setUserData, setUserDataRecursive, setUserDataRecursive, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PointAttributes()
public PointAttributes(float pointSize,
boolean antialiasing)
| Method Detail |
|---|
public final void setPointSize(float pointSize)
public final float getPointSize()
public final void setPointAntialiasingEnabled(boolean state)
public final boolean isPointAntialiasingEnabled()
public void setSortEnabled(boolean sortEnabled)
Transparency attributes can be marked to disable sorting transparent shapes by calling of setSortEnabled(false). When this is done, transparent shape it will not be drawn during the transparent rendering pass, but will be drawn with the solids (in the opaque rendering pass), i.e. this transparent shape will be treated just like regular opaque shape.
By default, sorting is enabled.
OrderedGroup,
TransparencyAttributes.setSortEnabled(boolean)public final boolean isSortEnabled()
public void freeOpenGLResources(CanvasPeer canvasPeer)
freeOpenGLResources in class NodeComponent
protected void duplicateNodeComponent(NodeComponent original,
boolean forceDuplicate)
duplicateNodeComponent in class NodeComponentpublic PointAttributes cloneNodeComponent(boolean forceDuplicate)
cloneNodeComponent in class NodeComponentpublic final void setStateNode(StateNode node)
StateTrackable
setStateNode in interface StateTrackable<PointAttributes>public final StateNode getStateNode()
getStateNode in interface StateTrackable<PointAttributes>public final long getStateId()
public PointAttributes getCopy()
getCopy in interface StateTrackable<PointAttributes>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int compareTo(PointAttributes o)
compareTo in interface java.lang.Comparable<PointAttributes>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||