| Type | Property and Description |
|---|---|
javafx.beans.property.BooleanProperty |
active
If a scene is active it is being shown by the display.
|
| Constructor and Description |
|---|
FXGLScene() |
| Modifier and Type | Method and Description |
|---|---|
javafx.beans.property.BooleanProperty |
activeProperty()
If a scene is active it is being shown by the display.
|
void |
appendCSS(CSS css) |
void |
bindSize(javafx.beans.property.DoubleProperty scaledWidth,
javafx.beans.property.DoubleProperty scaledHeight,
javafx.beans.property.DoubleProperty scaleRatio) |
void |
clearCSS() |
void |
clearEffect()
Removes any effects applied to the scene.
|
javafx.scene.layout.Pane |
getContentRoot() |
javafx.scene.effect.Effect |
getEffect() |
double |
getHeight() |
javafx.scene.layout.Pane |
getRoot() |
Viewport |
getViewport() |
double |
getWidth() |
void |
setCursor(String imageName,
javafx.geometry.Point2D hotspot)
Sets global game cursor using given name to find
the image cursor within assets/ui/cursors/.
|
void |
setEffect(javafx.scene.effect.Effect effect)
Applies given effect to the scene.
|
public javafx.beans.property.BooleanProperty activeProperty
public final javafx.scene.layout.Pane getRoot()
public final javafx.scene.layout.Pane getContentRoot()
public Viewport getViewport()
public final double getWidth()
public final double getHeight()
public final void setEffect(javafx.scene.effect.Effect effect)
effect - the effect to applypublic final javafx.scene.effect.Effect getEffect()
public final void clearEffect()
public final void setCursor(String imageName, javafx.geometry.Point2D hotspot)
imageName - name of image filehotspot - hotspot locationpublic javafx.beans.property.BooleanProperty activeProperty()
public void appendCSS(CSS css)
public void clearCSS()
public void bindSize(javafx.beans.property.DoubleProperty scaledWidth,
javafx.beans.property.DoubleProperty scaledHeight,
javafx.beans.property.DoubleProperty scaleRatio)
Copyright © 2017. All rights reserved.