SolidPrimitive Class |
Namespace: AGI.Foundation.Graphics
The SolidPrimitive type exposes the following members.
Name | Description | |
---|---|---|
SolidPrimitive |
Initializes a default solid primitive. This is equivalent to constructing
a solid primitive with a SetHint of Frequent.
| |
SolidPrimitive(SetHint) |
Initializes a solid primitive with the specified setHint.
|
Name | Description | |
---|---|---|
AffectedByLighting |
Gets or sets whether the primitive is affected by lighting.
| |
AutomaticallyComputeBoundingSphere |
Gets or sets if the primitive's BoundingSphere is automatically computed.
(Inherited from Primitive.) | |
BackLineColor |
Gets or sets the back line's color.
| |
BackLineTranslucency |
Gets or sets the back line's translucency. Translucency is between
0 and 1, where 0 is opaque and 1 is transparent.
| |
BackLineWidth |
Gets or sets the back line's width, in pixels.
| |
BoundingSphere |
Gets or sets the bounding sphere that encompasses the primitive.
The center is defined in the primitive's ReferenceFrame.
(Inherited from Primitive.) | |
Color |
Gets or sets the primitive's color.
(Inherited from Primitive.) | |
Display |
Gets or sets if the primitive should be
rendered.
Both this and DisplayCondition must evaluate to true for
the primitive to be rendered.
(Inherited from Primitive.) | |
DisplayCondition |
Gets or sets the display condition that determines if the primitive should be
rendered.
Both this and Display must evaluate to true for
the primitive to be rendered.
(Inherited from Primitive.) | |
DisplayFill |
Gets or sets whether the solid's fill is displayed.
| |
DisplayOutline |
Gets or sets whether the solid's outline is displayed.
| |
DisplaySilhouette |
Gets or sets whether the solid's silhouette is displayed.
| |
MaximumSilhouetteWidthSupported |
Gets the maximum silhouette width, in pixels, supported by the video card.
| |
MinimumSilhouetteWidthSupported |
Gets the minimum silhouette width, in pixels, supported by the video card.
| |
OutlineAppearance |
Gets or sets the outline's appearance.
| |
OutlineColor |
Gets or sets the outline's color.
| |
OutlineTranslucency |
Gets or sets the outline's translucency. Translucency is between
0 and 1, where 0 is opaque and 1 is transparent.
| |
OutlineWidth |
Gets or sets the outline's width, in pixels.
| |
Position |
Gets or sets the solid's position. The position is defined
in the solid's ReferenceFrame.
| |
ReferenceFrame |
Gets or sets the reference frame this primitive is defined and rendered in.
(Inherited from Primitive.) | |
Rotation |
Gets or sets the rotation applied to the solid before rendering.
| |
Scale |
Gets or sets a non-uniform scale that is applied to the solid to increase or
decrease its rendered size.
| |
SetHint |
Gets the primitive's SetHint.
See the Set Hint topic for more information on
selecting an appropriate value to construct the primitive with.
| |
SilhouetteColor |
Gets or sets the silhouette's color.
| |
SilhouetteTranslucency |
Gets or sets the silhouette's translucency. Translucency is between
0 and 1, where 0 is opaque and 1 is transparent.
| |
SilhouetteWidth |
Gets or sets the silhouette' width, in pixels.
| |
Tag |
Gets or sets custom data associated with this primitive.
(Inherited from Primitive.) | |
Translucency |
Gets or sets the primitive's translucency.
Translucency is between 0 and 1,
where 0 is opaque and 1 is transparent.
(Overrides PrimitiveTranslucency.) |
Name | Description | |
---|---|---|
Dispose | (Inherited from Primitive.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Set(SolidTriangulatorResult) |
Defines the solid using the specified solidTriangulatorResult.
The solid is rendered in the primitive's ReferenceFrame.
| |
Set(IEnumerableCartesian, IEnumerableCartesian, IEnumerableInt32, IEnumerableInt32, WindingOrder, BoundingSphere, Boolean) |
Defines the solid using the specified parameters.
The solid is rendered in the primitive's ReferenceFrame.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |