Click or drag to resize

Primitive Class

Primitives represent objects rendered in the 3D scene.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.GraphicsPrimitive
    More...

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax
public abstract class Primitive : IDisposable

The Primitive type exposes the following members.

Properties
  NameDescription
Public propertyAutomaticallyComputeBoundingSphere
Gets or sets if the primitive's BoundingSphere is automatically computed.
Public propertyBoundingSphere
Gets or sets the bounding sphere that encompasses the primitive. The center is defined in the primitive's ReferenceFrame.
Public propertyColor
Gets or sets the primitive's color.
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.
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.
Public propertyReferenceFrame
Gets or sets the reference frame this primitive is defined and rendered in.
Public propertyTag
Gets or sets custom data associated with this primitive.
Public propertyTranslucency
Gets or sets the primitive's translucency. Translucency is between 0 and 1, where 0 is opaque and 1 is transparent.
Top
Methods
  NameDescription
Public methodDispose
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also
Inheritance Hierarchy
SystemObject
  AGI.Foundation.GraphicsPrimitive
    AGI.Foundation.GraphicsAxesPrimitive
    AGI.Foundation.GraphicsCompositePrimitive
    AGI.Foundation.GraphicsMarkerBatchPrimitive
    AGI.Foundation.GraphicsModelPrimitive
    AGI.Foundation.GraphicsOrderedCompositePrimitive
    AGI.Foundation.GraphicsPathPrimitive
    AGI.Foundation.GraphicsPointBatchPrimitive
    AGI.Foundation.GraphicsPolylinePrimitive
    AGI.Foundation.GraphicsProjectedRaster
    AGI.Foundation.GraphicsSolidPrimitive
    AGI.Foundation.GraphicsSurfaceMeshPrimitive
    AGI.Foundation.GraphicsTextBatchPrimitive
    AGI.Foundation.GraphicsTriangleMeshPrimitive
    AGI.Foundation.GraphicsVectorPrimitive