Value members
Constructors
Creates a Scene for a specific root Node.
Creates a Scene for a specific root Node.
- Value Params
- parent
The root node of the scene graph
Creates a Scene for a specific root Node with a specific size.
Creates a Scene for a specific root Node with a specific size.
- Value Params
- height
The height of the scene
- parent
The root node of the scene graph
- width
The width of the scene
Constructs a scene consisting of a root, with a dimension of width and height, and specifies whether a depth buffer is created for this scene.
Constructs a scene consisting of a root, with a dimension of width and height, and specifies whether a depth buffer is created for this scene.
- Value Params
- depthBuffer
The depth buffer flag
- height
The height of the scene
- parent
The root node of the scene graph
- width
The width of the scene
Creates a Scene with a Group
as parent, with a dimension of width and height,
and specifies whether a depth buffer is created for this scene.
Creates a Scene with a Group
as parent, with a dimension of width and height,
and specifies whether a depth buffer is created for this scene.
- Value Params
- depthBuffer
The depth buffer flag
- height
The height of the scene
- width
The width of the scene
Constructs a scene consisting of a root, with a dimension of width and height, specifies whether a depth buffer is created for this scene and specifies the required scene anti-aliasing.
Constructs a scene consisting of a root, with a dimension of width and height, specifies whether a depth buffer is created for this scene and specifies the required scene anti-aliasing.
- Value Params
- antiAliasing
The required scene anti-aliasing.
- depthBuffer
The depth buffer flag
- height
The height of the scene
- parent
The root node of the scene graph
- width
The width of the scene
Creates a Scene with a Group
as parent, with a dimension of width and height,
specifies whether a depth buffer is created for this scene and specifies
the required scene anti-aliasing.
Creates a Scene with a Group
as parent, with a dimension of width and height,
specifies whether a depth buffer is created for this scene and specifies
the required scene anti-aliasing.
- Value Params
- antiAliasing
The required scene anti-aliasing.
- depthBuffer
The depth buffer flag
- height
The height of the scene
- width
The width of the scene
Concrete methods
Specifies the type of camera use for rendering this Scene
.
Specifies the type of camera use for rendering this Scene
.
Returns Content's Node children from this Scene's root
.
Returns Content's Node children from this Scene's root
.
Sets the list of Nodes children from this Scene's root
, replacing the prior content. If you want append to
current content, use add
or similar.
Sets the list of Nodes children from this Scene's root
, replacing the prior content. If you want append to
current content, use add
or similar.
- Value Params
- c
list of Nodes children from this Scene's
root
to replace prior content.
Sets a Node child, replacing the prior content. If you want append to current content, use add
or similar.
Sets a Node child, replacing the prior content. If you want append to current content, use add
or similar.
- Value Params
- n
Node child to replace prior content.
Retrieves the depth buffer attribute for this scene.
Retrieves the depth buffer attribute for this scene.
The effective node orientation of a scene resolves the inheritance of node orientation, returning either left-to-right or right-to-left.
The effective node orientation of a scene resolves the inheritance of node orientation, returning either left-to-right or right-to-left.
The scene's current focus owner node. This node's "focused" variable might be false if this scene has no window, or if the window is inactive (window.focused == false).
The scene's current focus owner node. This node's "focused" variable might be false if this scene has no window, or if the window is inactive (window.focused == false).
- Since
2.2
Looks for any node within the scene graph based on the specified CSS selector.
Looks for any node within the scene graph based on the specified CSS selector.
- Value Params
- selector
The css selector to look up
- Returns
A scala.Some containing the Node in the scene which matches the CSS selector, or scala.None if none is found.
Defines a function to be called when a mouse button has been clicked (pressed and released) on this Scene
.
Defines a function to be called when a mouse button has been clicked (pressed and released) on this Scene
.
Defines a function to be called when drag gesture has been detected.
Defines a function to be called when drag gesture has been detected.
Defines a function to be called when this Scene
is a drag and drop gesture source after its data has been
dropped on a drop target.
Defines a function to be called when this Scene
is a drag and drop gesture source after its data has been
dropped on a drop target.
Defines a function to be called when the mouse button is released on this Scene
during drag and drop gesture.
Defines a function to be called when the mouse button is released on this Scene
during drag and drop gesture.
Defines a function to be called when drag gesture enters this Scene.
Defines a function to be called when drag gesture enters this Scene.
Defines a function to be called when drag gesture exits this Scene.
Defines a function to be called when drag gesture exits this Scene.
Defines a function to be called when drag gesture progresses within this Scene
.
Defines a function to be called when drag gesture progresses within this Scene
.
Defines a function to be called when this Node
has input focus and the input method text has changed.
Defines a function to be called when this Node
has input focus and the input method text has changed.
Defines a function to be called when some Node
of this Scene
has input focus and a key has been pressed.
Defines a function to be called when some Node
of this Scene
has input focus and a key has been pressed.
Defines a function to be called when some Node
of this Scene
has input focus and a key has been released.
Defines a function to be called when some Node
of this Scene
has input focus and a key has been released.
Defines a function to be called when some Node
of this Scene
has input focus and a key has been typed.
Defines a function to be called when some Node
of this Scene
has input focus and a key has been typed.
Defines a function to be called when a mouse button has been clicked (pressed and released) on this Scene
.
Defines a function to be called when a mouse button has been clicked (pressed and released) on this Scene
.
Defines a function to be called when a full press-drag-release gesture enters this Scene
.
Defines a function to be called when a full press-drag-release gesture enters this Scene
.
Defines a function to be called when a full press-drag-release gesture exits this Scene
.
Defines a function to be called when a full press-drag-release gesture exits this Scene
.
Defines a function to be called when a full press-drag-release gesture progresses within this Scene
.
Defines a function to be called when a full press-drag-release gesture progresses within this Scene
.
Defines a function to be called when a full press-drag-release gesture ends within this Scene
.
Defines a function to be called when a full press-drag-release gesture ends within this Scene
.
Defines a function to be called when a mouse button is pressed on this Scene
and then dragged.
Defines a function to be called when a mouse button is pressed on this Scene
and then dragged.
Defines a function to be called when the mouse enters this Scene
.
Defines a function to be called when the mouse enters this Scene
.
Defines a function to be called when the mouse exits this Scene
.
Defines a function to be called when the mouse exits this Scene
.
Defines a function to be called when mouse cursor moves within this Scene
but no buttons have been pushed.
Defines a function to be called when mouse cursor moves within this Scene
but no buttons have been pushed.
Defines a function to be called when a mouse button has been pressed on this Scene
.
Defines a function to be called when a mouse button has been pressed on this Scene
.
Defines a function to be called when a mouse button has been released on this Scene
.
Defines a function to be called when a mouse button has been released on this Scene
.
Defines a function to be called when user performs a rotation action.
Defines a function to be called when user performs a rotation action.
- Since
2.2
Defines a function to be called when a rotation gesture ends.
Defines a function to be called when a rotation gesture ends.
- Since
2.2
Defines a function to be called when a rotation gesture starts.
Defines a function to be called when a rotation gesture starts.
- Since
2.2
Defines a function to be called when user performs a scrolling action.
Defines a function to be called when user performs a scrolling action.
Defines a function to be called when a Scroll gesture ends.
Defines a function to be called when a Scroll gesture ends.
- Since
2.2
Defines a function to be called when a Scroll gesture starts.
Defines a function to be called when a Scroll gesture starts.
- Since
2.2
Defines a function to be called when a Swipe Down gesture starts.
Defines a function to be called when a Swipe Down gesture starts.
- Since
2.2
Defines a function to be called when a Swipe Down gesture starts.
Defines a function to be called when a Swipe Down gesture starts.
- Since
2.2
Defines a function to be called when a Swipe Right gesture starts.
Defines a function to be called when a Swipe Right gesture starts.
- Since
2.2
Defines a function to be called when a Swipe Up gesture starts.
Defines a function to be called when a Swipe Up gesture starts.
- Since
2.2
Defines a function to be called when user performs a Touch Moved action.
Defines a function to be called when user performs a Touch Moved action.
- Since
2.2
Defines a function to be called when user performs a Touch Pressed action.
Defines a function to be called when user performs a Touch Pressed action.
- Since
2.2
Defines a function to be called when user performs a Touch Released action.
Defines a function to be called when user performs a Touch Released action.
- Since
2.2
Defines a function to be called when user performs a Touch Stationary action.
Defines a function to be called when user performs a Touch Stationary action.
- Since
2.2
Defines a function to be called when user performs a Touch action.
Defines a function to be called when user performs a Touch action.
- Since
2.2
Defines a function to be called when a Zoom gesture ends.
Defines a function to be called when a Zoom gesture ends.
- Since
2.2
Defines a function to be called when a Zoom gesture starts.
Defines a function to be called when a Zoom gesture starts.
- Since
2.2
Unregisters the specified mnemonic.
Unregisters the specified mnemonic.
- Value Params
- m
The Mnemonic to be removed.
Takes a snapshot of this scene and returns the rendered image when it is ready.
Takes a snapshot of this scene and returns the rendered image when it is ready.
- Value Params
- image
The writable image that will be used to hold the rendered scene.
- Returns
the rendered image
- Since
2.2
Takes a snapshot of this scene at the next frame and calls the specified callback method when the image is ready.
Takes a snapshot of this scene at the next frame and calls the specified callback method when the image is ready.
- Value Params
- callback
A function to be called when the image is ready.
- image
The writable image that will be used to hold the rendered scene.
- Since
2.2
Confirms a potential drag and drop gesture that is recognized over this Scene
.
Confirms a potential drag and drop gesture that is recognized over this Scene
.
- Value Params
- transferModes
The supported
TransferMode
(s) of thisNode
- Returns
A
Dragboard
to place thisScene
's data on
Starts a full press-drag-release gesture with this scene as gesture source.
Starts a full press-drag-release gesture with this scene as gesture source.
Gets an observable list of string URLs linking to the stylesheets to use with this Parent's contents.
Gets an observable list of string URLs linking to the stylesheets to use with this Parent's contents.
Sets the list of stylesheets URLs, replacing the prior content. If you want append to current content, use add
or
similar.
Sets the list of stylesheets URLs, replacing the prior content. If you want append to current content, use add
or
similar.
- Value Params
- c
list of stylesheets URLs to replace prior content.
The URL of the user-agent stylesheet that will be used by this Scene in place of the the platform-default user-agent stylesheet. If the URL does not resolve to a valid location, the platform-default user-agent stylesheet will be used.
The URL of the user-agent stylesheet that will be used by this Scene in place of the the platform-default user-agent stylesheet. If the URL does not resolve to a valid location, the platform-default user-agent stylesheet will be used.
For additional information about using CSS with the scene graph, see the CSS Reference Guide.
- Returns
The URL of the user-agent stylesheet that will be used by this SubScene, or null if has not been set.
Set the URL of the user-agent stylesheet that will be used by this Scene in place of the the platform-default user-agent stylesheet. If the URL does not resolve to a valid location, the platform-default user-agent stylesheet will be used.
Set the URL of the user-agent stylesheet that will be used by this Scene in place of the the platform-default user-agent stylesheet. If the URL does not resolve to a valid location, the platform-default user-agent stylesheet will be used.
For additional information about using CSS with the scene graph, see the CSS Reference Guide.
- Value Params
- url
The URL is a hierarchical URI of the form
[scheme:][//authority][path]
. If the URL does not have a[scheme:]
component, the URL is considered to be the[path]
component only. Any leading '/' character of the[path]
is ignored and the[path]
is treated as a path relative to the root of the application's classpath.
The horizontal location of this Scene
on the Window
.
The horizontal location of this Scene
on the Window
.
Inherited methods
Verifies if a object is equals to this delegate.
Verifies if a object is equals to this delegate.
- Value Params
- ref
Object to be compared.
- Returns
if the other object is equals to this delegate or not.
- Definition Classes
- SFXDelegate -> Any
- Inherited from
- SFXDelegate
- Returns
Returns the original delegate's
toString()
adding a[SFX]
prefix.- Definition Classes
- SFXDelegate -> Any
- Inherited from
- SFXDelegate