PickInfo Class |
Namespace: Demo3D.Visuals
public class PickInfo
The PickInfo type exposes the following members.
| Name | Description | |
|---|---|---|
| PickInfo | Initializes a new instance of the PickInfo class | |
| PickInfo(Point) | Initializes a new instance of the PickInfo class | |
| PickInfo(Int32, Int32) | Initializes a new instance of the PickInfo class |
| Name | Description | |
|---|---|---|
| ClosestFaceLine | ||
| ClosestFaceLineCenter | ||
| ClosestFaceLineIndex | ||
| ClosestFaceVertex | ||
| ClosestFaceVertexIndex | ||
| ClosestTransformedFaceLine |
The closet face line in world coords.
| |
| ClosestTransformedFaceLineCenter |
The closes face line center in world coords.
| |
| ClosestTransformedFaceVertex |
The closest face vertex in world coords.
| |
| FaceCenterVertex | ||
| TransformedActualPickLocation |
The actual picked location in world coords
| |
| TransformedFaceCenterVertex |
The face center in world coords.
| |
| TransformedFaceVertices |
Get the world coordinates of the vertices of the picked the face.
|
| Name | Description | |
|---|---|---|
| Copy | ||
| GetClosestFace | ||
| GetClosestLine | ||
| GetClosestNormal | ||
| GetClosestPlane | ||
| GetClosestPoint | ||
| GetPickLocation | ||
| GetPickVector |
| Name | Description | |
|---|---|---|
| ActualRenderablePicked |
The rendererable on the renderer aspect that was picked.
| |
| ActualRenderablePickedLocation |
The location on the renderable where it was picked in local coords.
| |
| ActualRendererAspectPicked |
The renderer aspect that was picked.
| |
| ActualVisualPicked |
This is the actual mesh that was picked.
| |
| ActualVisualPickedLocation |
The location on the object where it was picked in local coords.
| |
| Distance |
The distance from the viewer to the object.
| |
| FaceIndex |
The face index that was picked.
| |
| FaceIndices |
If WantFaceIndices is set, then these are the face indices that we picked
| |
| FaceNormal |
If WantFaceNormal is set, then this is the face normal that was picked
| |
| FaceVertices |
If WantFaceVertices is set, then this is the face that was picked
| |
| IgnoreSelectParentWhenPicked |
Whether to respect SelectParentWhenPicked properties in the pick.
| |
| IncludeControlPoints |
Whether the include control points in the pick.
| |
| IncludeGroups |
Whether to include group objects in the pick.
| |
| IncludeInvisible |
Whether to include non-visible objects in the pick.
| |
| IncludeNonSelectable |
Whether to include non-selectable objects in the pick.
| |
| Location |
The location on the object where it was picked in world coords.
| |
| Mode |
Visual accessories will use the snap mesh.
| |
| Obj |
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.
| |
| PickedFaces |
These are face indices as in index of the attributes buffer, returned with FaceIndices
| |
| PickGroupChild |
Whether to pick the child of a group.
| |
| Screen |
Screen coordinates of pick if appropriate.
| |
| Subset |
If WantSubset is set, then this is the subset that was picked
| |
| Visual |
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.
| |
| WantFaceIndices |
Indicates that FaceIndices should be set during the pick operation (default=true)
| |
| WantFaceNormal |
Indicates that FaceNormal should be set during the pick operation (default=true)
| |
| WantFaceVertices |
Indicates that FaceVertices should be set during the pick operation (default=true)
| |
| WantSubset |
Indicates that Subset should be set during the pick operation (default=false)
|