|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Representation of any node that allows the definition of a surface node type.
A surface allows the composition of one piece of content on another piece. For example it allows an application such as a text editor to be embedded into the 3D world as a texture on another object, or even as a standalone item of geometry.
| Method Summary | |
boolean |
isVisible()
Get the current visibility state of this surface. |
void |
setVisible(boolean state)
Set the visibility state of the surface. |
void |
surfaceSizeChanged(int width,
int height)
Notification that the area allocated to the surface has changed. |
| Methods inherited from interface org.web3d.vrml.nodes.VRMLNodeType |
addNodeListener, getFieldValue, getMetadataObject, getRefCount, hasFieldChanged, isSetupFinished, notifyExternProtoLoaded, removeNodeListener, sendRoute, setDEF, setFrameStateManager, setMetadataObject, setupFinished, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, updateRefCount |
| Methods inherited from interface org.web3d.vrml.lang.VRMLNode |
getFieldDeclaration, getFieldIndex, getNodeFieldIndices, getNumFields, getPrimaryType, getSecondaryType, getUserData, getVRMLNodeName, isDEF, setErrorReporter, setUserData, setVersion |
| Methods inherited from interface org.web3d.vrml.nodes.FrameStateListener |
allEventsComplete |
| Method Detail |
public void surfaceSizeChanged(int width,
int height)
width - The width of the surface in pixelsheight - The height of the surface in pixelspublic boolean isVisible()
public void setVisible(boolean state)
state - true to make this node visible, false to hide
|
Xj3D VRML/X3D Code API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||