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: 15.0.2.11458
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
  NameDescription
Public propertyClosestFaceLine
Public propertyClosestFaceLineCenter
Public propertyClosestFaceLineIndex
Public propertyClosestFaceVertex
Public propertyClosestFaceVertexIndex
Public propertyClosestTransformedFaceLine
The closet face line in world coords.
Public propertyClosestTransformedFaceLineCenter
The closes face line center in world coords.
Public propertyClosestTransformedFaceVertex
The closest face vertex in world coords.
Public propertyFaceCenterVertex
Public propertyTransformedActualPickLocation
The actual picked location in world coords
Public propertyTransformedFaceCenterVertex
The face center in world coords.
Public propertyTransformedFaceVertices
Get the world coordinates of the vertices of the picked the face.
Top
Methods
Fields
  NameDescription
Public fieldActualRenderablePicked
The rendererable on the renderer aspect that was picked.
Public fieldActualRenderablePickedLocation
The location on the renderable where it was picked in local coords.
Public fieldActualRendererAspectPicked
The renderer aspect that was picked.
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 fieldFaceIndex
The face index that was picked.
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 fieldIncludeControlPoints
Whether the include control points 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