Click or drag to resize

SolidPrimitive Properties

The SolidPrimitive type exposes the following members.

Properties
  NameDescription
Public propertyAffectedByLighting
Gets or sets whether the primitive is affected by lighting.
Public propertyAutomaticallyComputeBoundingSphere
Gets or sets if the primitive's BoundingSphere is automatically computed.
(Inherited from Primitive.)
Public propertyBackLineColor
Gets or sets the back line's color.
Public propertyBackLineTranslucency
Gets or sets the back line's translucency. Translucency is between 0 and 1, where 0 is opaque and 1 is transparent.
Public propertyBackLineWidth
Gets or sets the back line's width, in pixels.
Public propertyBoundingSphere
Gets or sets the bounding sphere that encompasses the primitive. The center is defined in the primitive's ReferenceFrame.
(Inherited from Primitive.)
Public propertyColor
Gets or sets the primitive's color.
(Inherited from Primitive.)
Public propertyDisplay
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.)
Public propertyDisplayCondition
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.)
Public propertyDisplayFill
Gets or sets whether the solid's fill is displayed.
Public propertyDisplayOutline
Gets or sets whether the solid's outline is displayed.
Public propertyDisplaySilhouette
Gets or sets whether the solid's silhouette is displayed.
Public propertyStatic memberMaximumSilhouetteWidthSupported
Gets the maximum silhouette width, in pixels, supported by the video card.
Public propertyStatic memberMinimumSilhouetteWidthSupported
Gets the minimum silhouette width, in pixels, supported by the video card.
Public propertyOutlineAppearance
Gets or sets the outline's appearance.
Public propertyOutlineColor
Gets or sets the outline's color.
Public propertyOutlineTranslucency
Gets or sets the outline's translucency. Translucency is between 0 and 1, where 0 is opaque and 1 is transparent.
Public propertyOutlineWidth
Gets or sets the outline's width, in pixels.
Public propertyPosition
Gets or sets the solid's position. The position is defined in the solid's ReferenceFrame.
Public propertyReferenceFrame
Gets or sets the reference frame this primitive is defined and rendered in.
(Inherited from Primitive.)
Public propertyRotation
Gets or sets the rotation applied to the solid before rendering.
Public propertyScale
Gets or sets a non-uniform scale that is applied to the solid to increase or decrease its rendered size.
Public propertySetHint
Gets the primitive's SetHint. See the Set Hint topic for more information on selecting an appropriate value to construct the primitive with.
Public propertySilhouetteColor
Gets or sets the silhouette's color.
Public propertySilhouetteTranslucency
Gets or sets the silhouette's translucency. Translucency is between 0 and 1, where 0 is opaque and 1 is transparent.
Public propertySilhouetteWidth
Gets or sets the silhouette' width, in pixels.
Public propertyTag
Gets or sets custom data associated with this primitive.
(Inherited from Primitive.)
Public propertyTranslucency
Gets or sets the primitive's translucency. Translucency is between 0 and 1, where 0 is opaque and 1 is transparent.
(Overrides PrimitiveTranslucency.)
Top
See Also