Creates a new instance of PickResult.
Creates a new instance of PickResult.
- The intersected node
- The intersected point in local coordinate of the picked Node
- The intersected distance between camera position and the picked Node
- The intersected face of the picked Node
- The intersected texture coordinates of the picked Node
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.
- The intersected node
- The intersected point in local coordinate of the picked Node
- The intersected distance between camera position and the picked Node
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.
- The picked target (null in case of a Scene)
- The scene X coordinate
- The scene Y coordinate
JavaFX object to be wrapped.
JavaFX object to be wrapped.
Verifies if a object is equals to this delegate.
Verifies if a object is equals to this delegate.
Object to be compared.
if the other object is equals to this delegate or not.
The delegate hashcode
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 node.
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.
Return the intersected texture coordinates of the picked 3d shape.
Return the intersected texture coordinates of the picked 3d shape.
If the picked target is not Shape3D or has pickOnBounds==true, it returns None
.
Returns the original delegate's toString()
adding a [SFX]
prefix.
A container for the result of a pick event. Wrapper for JavaFX's PickResult.