Click or drag to resize
DigitalRuneFigureHitShape Property
Gets the collision shape for hit tests.

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public Shape HitShape { get; }

Property Value

Type: Shape
The collision shape for hit tests.
Remarks

The BoundingShape is a very simply shape which can be used for simple bounding volume tests and culling (e.g. view frustum culling). The HitShape is a detailed shape which can be used for more accurate hit testing.

Important: The HitShape was designed for hit testing ("picking") to determine whether the mouse cursor or another object intersects the rendered figure. The representation of the figure is updated during rendering. That means, the HitShape may be invalid when it is not rendered!

See Also