|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface that extends CoreShout3DViewer to have Shout3D-specific features
Method Summary | |
boolean |
addRoute(Field fromField,
Field toField)
Adds a route that copies values from 'fromField' to 'toField' each time that fromField's value changes. |
void |
clearResourceCaches()
Clears the cache of loaded resources, freeing the memory that holds them. |
boolean |
deleteRoute(Field fromField,
Field toField)
Removes any existing route from fromField to toField Returns true if a route existed and was removed, false otherwise |
java.awt.Component |
getComponent()
Gets the Java Component in which this viewer is being displayed. |
boolean |
isAntiAliased()
Returns whether antialiasing is enabled |
boolean |
isBilinearFiltering()
Returns whether bilinear filtering is enabled on textures |
boolean |
isLoadResourcesInSeparateThread()
Returns whether resources should are being loaded in a separate thread. |
boolean |
isPixelDoubling()
Returns whether pixel doubling is enabled. |
boolean |
isPixelDoublingSmooth()
Returns true if pixel doubling is enabled and the style in use is smooth style. |
boolean |
isRenderLoopPaused()
Gets whether the rendering loop is currently paused |
boolean |
isRouted(Field fromField,
Field toField)
Checks if a route currently exists from fromField to toField |
void |
renderOnce()
This method will render one frame if the render loop is paused. |
void |
setAntiAliased(boolean newVal)
Sets whether antialiasing is enabled. |
void |
setBilinearFiltering(boolean newVal)
Sets whether bilinear filtering is enabled on textures. |
void |
setLoadResourcesInSeparateThread(boolean newVal)
Sets resources (textures and sounds) should be loaded in a separate thread from the main thread. |
void |
setPixelDoubling(boolean enabled,
boolean useSmoothStyle)
Sets whether pixel doubling is enabled on the view. |
void |
setRenderLoopPaused(boolean isPaused)
Sets whether the rendering loop should be paused |
Methods inherited from interface shout3d.core.CoreShout3DViewer |
getClock,
getCurrentBindableNode,
getDeviceListener,
getNewPicker,
getNewSearcher,
getNodeByName,
getProfile,
getRenderer,
getResourceListener,
getScene,
getVersion,
loadURL,
setScene,
setSceneFromURL |
Method Detail |
public java.awt.Component getComponent()
public boolean addRoute(Field fromField, Field toField) throws Shout3DException
fromField
- the field from which values will be copiedtoField
- the field to which values will be copiedpublic boolean deleteRoute(Field fromField, Field toField)
fromField
- the field from which values will be copiedtoField
- the field to which values will be copiedpublic boolean isRouted(Field fromField, Field toField)
public void clearResourceCaches()
public void setAntiAliased(boolean newVal)
newVal
- whether antialiasing should be enabledpublic boolean isAntiAliased()
public void setBilinearFiltering(boolean newVal)
newVal
- whether bilinear filtering should be enabledpublic boolean isBilinearFiltering()
public void setLoadResourcesInSeparateThread(boolean newVal)
newVal
- whether resources should be loaded in a separate thread.public boolean isLoadResourcesInSeparateThread()
public void setRenderLoopPaused(boolean isPaused)
isPaused
- public boolean isRenderLoopPaused()
public void renderOnce()
public void setPixelDoubling(boolean enabled, boolean useSmoothStyle)
enabled
- whether pixel doubling should be enableduseSmoothStyle
- if enabled is true, whether the doubling should be smooth stylepublic boolean isPixelDoubling()
public boolean isPixelDoublingSmooth()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |