Click or drag to resize

PickInfo Class

The result of a pick from the scene.
Inheritance Hierarchy
SystemObject
  Demo3D.VisualsPickInfo

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 10.0.0.6737
Syntax
C#
public class PickInfo

The PickInfo type exposes the following members.

Constructors
  NameDescription
Public methodPickInfo
Initializes a new instance of the PickInfo class
Public methodPickInfo(Point)
Initializes a new instance of the PickInfo class
Public methodPickInfo(Int32, Int32)
Initializes a new instance of the PickInfo class
Top
Properties
Methods
Fields
  NameDescription
Public fieldActualVisualPicked
This is the actual mesh that was picked.
Public fieldActualVisualPickedLocation
The location on the object where it was picked in local coords.
Public fieldDistance
The distance from the viewer to the object.
Public fieldFaceIndices
If WantFaceIndices is set, then these are the face indices that we picked
Public fieldFaceNormal
If WantFaceNormal is set, then this is the face normal that was picked
Public fieldFaceVertices
If WantFaceVertices is set, then this is the face that was picked
Public fieldIgnoreSelectParentWhenPicked
Whether to respect SelectParentWhenPicked properties in the pick.
Public fieldIncludeGroups
Whether to include group objects in the pick.
Public fieldIncludeInvisible
Whether to include non-visible objects in the pick.
Public fieldIncludeNonSelectable
Whether to include non-selectable objects in the pick.
Public fieldLocation
The location on the object where it was picked in world coords.
Public fieldMode
Visual accessories will use the snap mesh.
Public fieldObj
The Object that has been picked from the scene. The visual that responds may assign this to be some other object. For example, a Load may set this to be the Conveyor that it is assigned to.
Public fieldPickedFaces
These are face indices as in index of the attributes buffer, returned with FaceIndices
Public fieldPickGroupChild
Whether to pick the child of a group.
Public fieldScreen
Screen coordinates of pick if appropriate.
Public fieldSubset
If WantSubset is set, then this is the subset that was picked
Public fieldVisual
The visual that responded to the pick. This lets us show tooltip information for the object that the cursor is really over, not the pick Obj.
Public fieldWantFaceIndices
Indicates that FaceIndices should be set during the pick operation (default=true)
Public fieldWantFaceNormal
Indicates that FaceNormal should be set during the pick operation (default=true)
Public fieldWantFaceVertices
Indicates that FaceVertices should be set during the pick operation (default=true)
Public fieldWantSubset
Indicates that Subset should be set during the pick operation (default=false)
Top
See Also