Click or drag to resize

SolidPrimitiveSilhouetteWidth Property

Gets or sets the silhouette' width, in pixels.

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public float SilhouetteWidth { get; set; }

Property Value

Type: Single
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Width is less than 0.
InsufficientVideoCardException Width is outside of the range supported by the video card. To verify a width is supported, check MinimumSilhouetteWidthSupported and MaximumSilhouetteWidthSupported. Regardless of MinimumSilhouetteWidthSupported, a width of 0 is always allowed and effectively hides the silhouette.
Remarks
The width is defined in pixels so even if the camera moves very close or very far from the solid, the width of the silhouette on the screen does not change.
See Also