A primitive composed of other primitives with a well defined render order. The ordered composite is intended to contain overlapping primitives rendered on the globe's surface. Which primitives are on top of which primitives is defined by the position of the primitive in the composite, which can be controlled with Add(Primitive), BringToFront(Primitive), BringForward(Primitive), SendBackward(Primitive), and SendToBack(Primitive).
The ordered composite is compatible with the following primitives:
Primitives in a composite must have the same ReferenceFrame.
public sealed class OrderedCompositePrimitive : Primitive, IEnumerable<Primitive>
Public NotInheritable Class OrderedCompositePrimitive Inherits Primitive Implements IEnumerable(Of Primitive)
public ref class OrderedCompositePrimitive sealed : public Primitive, IEnumerable<Primitive^>
[<SealedAttribute>] type OrderedCompositePrimitive = class inherit Primitive interface IEnumerable<Primitive> end
The OrderedCompositePrimitive type exposes the following members.
Initializes a default ordered composite primitive.
Gets or sets if the primitive's BoundingSphere is automatically computed.(Inherited from Primitive.)
Gets or sets the bounding sphere that encompasses the primitive. The center is defined in the primitive's ReferenceFrame.(Inherited from Primitive.)
The ordered composite primitive does not support the color property.(Overrides PrimitiveColor.)
Gets the number of primitives in the composite.
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.)
Gets or sets the composite's display condition. During rendering, first a composite's display condition is evaluated. If it succeeds, the display condition for each primitive in the composite is evaluated.
Returns the primitive at the given zero-based index. The primitive at index zero is rendered on the bottom and the primitive at index Count - 1 is rendered on the top.
Gets or sets the reference frame this primitive is defined and rendered in.(Overrides PrimitiveReferenceFrame.)
Gets or sets custom data associated with this primitive.(Inherited from Primitive.)
The ordered composite primitive does not support the translucency property.(Overrides PrimitiveTranslucency.)
Adds a primitive to the front of the composite. Primitives at the front are rendered on top of primitives at the bottom.
Moves a primitive in the composite forward one slot. Primitives at the front are rendered on top of primitives at the bottom.
Moves a primitive to the top of the composite, so that it is rendered on top of all other primitives in the composite.
Removes all primitives from the composite.
Determines whether the composite contains a primitive.
|Dispose||(Inherited from Primitive.)|
Determines whether the specified object is equal to the current object.(Inherited from Object.)
Returns an enumerator that iterates through each primitive in the composite.
Serves as the default hash function.(Inherited from Object.)
Gets the Type of the current instance.(Inherited from Object.)
Removes a primitive from the composite.
Moves a primitive in the composite backwards one slot. Primitives at the bottom are rendered below primitives at the front.
Moves a primitive to the bottom of the composite, so that it is rendered below all other primitives in the composite.
Returns a string that represents the current object.(Inherited from Object.)