A container for the result of a pick event. Wrapper for JavaFX's PickResult.
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Constructors
Creates a pick result for a 2D case where no additional information is needed.
Creates a pick result for a 2D case where no additional information is needed.
Converts the given scene coordinates to the target's local coordinate space and stores the value as the intersected point. Sets intersected node to the given target, distance to 1.0, face to FACE_UNDEFINED and texCoord to null.
Value parameters
- sceneX
-
- The scene X coordinate
- sceneY
-
- The scene Y coordinate
- target
-
- The picked target (null in case of a Scene)
Attributes
Creates a new instance of PickResult for a non-3d-shape target.
Creates a new instance of PickResult for a non-3d-shape target.
Sets face to FACE_UNDEFINED and texCoord to null.
Value parameters
- distance
-
- The intersected distance between camera position and the picked Node
- node
-
- The intersected node
- point
-
- The intersected point in local coordinate of the picked Node
Attributes
Creates a new instance of PickResult.
Creates a new instance of PickResult.
Value parameters
- distance
-
- The intersected distance between camera position and the picked Node
- face
-
- The intersected face of the picked Node
- node
-
- The intersected node
- point
-
- The intersected point in local coordinate of the picked Node
- texCoord
-
- The intersected texture coordinates of the picked Node
Attributes
Concrete methods
Returns the intersected distance between camera position and the intersected point.
Returns the intersected distance between camera position and the intersected point.
Attributes
Returns the intersected face of the picked Node, FACE_UNDEFINED
if the node doesn't have user-specified faces or was picked on bounds.
Returns the intersected face of the picked Node, FACE_UNDEFINED
if the node doesn't have user-specified faces or was picked on bounds.
Attributes
Returns the intersected node. Returns None
if there was no intersection with any node and the scene was picked.
Returns the intersected node. Returns None
if there was no intersection with any node and the scene was picked.
Attributes
Returns the intersected point in local coordinate of the picked Node.
Returns the intersected point in local coordinate of the picked Node.
Attributes
Return the intersected texture coordinates of the picked 3d shape. If the picked target is not Shape3D or has pickOnBounds==true, it returns None
.
Return the intersected texture coordinates of the picked 3d shape. If the picked target is not Shape3D or has pickOnBounds==true, it returns None
.
Attributes
Inherited methods
Verifies if a object is equals to this delegate.
Verifies if a object is equals to this delegate.
Value parameters
- ref
-
Object to be compared.
Attributes
- Returns
-
if the other object is equals to this delegate or not.
- Definition Classes
-
SFXDelegate -> Any
- Inherited from:
- SFXDelegate
Attributes
- Returns
-
The delegate hashcode
- Definition Classes
-
SFXDelegate -> Any
- Inherited from:
- SFXDelegate
Attributes
- Returns
-
Returns the original delegate's
toString()
adding a[SFX]
prefix. - Definition Classes
-
SFXDelegate -> Any
- Inherited from:
- SFXDelegate
Concrete fields
JavaFX object to be wrapped.
JavaFX object to be wrapped.