A container for the result of a pick event. Wrapper for JavaFX's PickResult.
A container for the result of a pick event. Wrapper for JavaFX's PickResult.
- Companion
- object
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 Params
- sceneX
- The scene X coordinate
- sceneY
- The scene Y coordinate
- target
- The picked target (null in case of a Scene)
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 Params
- 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
Creates a new instance of PickResult.
Creates a new instance of PickResult.
- Value Params
- 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
Concrete methods
Returns the intersected distance between camera position and the intersected point.
Returns the intersected distance between camera position and the intersected point.
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.
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.
Returns the intersected point in local coordinate of the picked Node.
Returns the intersected point in local coordinate of the picked Node.
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