Click or drag to resize

Primitive Class

Primitives represent objects rendered in the 3D scene.
Inheritance Hierarchy
System.Object
  AGI.Foundation.Graphics.Primitive
    More...

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 25.1.421.0 (25.1.421.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
System.Object
  AGI.Foundation.Graphics.Primitive
    AGI.Foundation.Graphics.AxesPrimitive
    AGI.Foundation.Graphics.CompositePrimitive
    AGI.Foundation.Graphics.MarkerBatchPrimitive
    AGI.Foundation.Graphics.ModelPrimitive
    AGI.Foundation.Graphics.OrderedCompositePrimitive
    AGI.Foundation.Graphics.PathPrimitive
    AGI.Foundation.Graphics.PointBatchPrimitive
    AGI.Foundation.Graphics.PolylinePrimitive
    AGI.Foundation.Graphics.ProjectedRaster
    AGI.Foundation.Graphics.SolidPrimitive
    AGI.Foundation.Graphics.SurfaceMeshPrimitive
    AGI.Foundation.Graphics.TextBatchPrimitive
    AGI.Foundation.Graphics.TriangleMeshPrimitive
    AGI.Foundation.Graphics.VectorPrimitive