A composite of primitives. This is used to
build a hierarchy of primitives and efficiently evaluate their
display conditions. It can also be used to construct a scene graph,
with culling based on the logical organization, not necessarily
spatial.
| C# | Visual Basic | Visual C++ |
public interface IAgGxPrimitiveComposite : IAgGxPrimitive
Public Interface IAgGxPrimitiveComposite _ Implements IAgGxPrimitive
public interface class IAgGxPrimitiveComposite : IAgGxPrimitive
| All Members | Methods | Properties | |||
|
|
|
|
|||
| Icon | Member | Description |
|---|---|---|
|
|
Add(IAgGxPrimitive) |
Adds a primitive to the composite. If the
primitive already exists in the composite, the result is
undefined.
|
|
|
CentralBody |
Returns the primitive's central body. This is
the same central body returned from GetDefinition(). If several
properties are desired, it is more efficient to call
GetDefinition() once then make several calls to individual
properties.
|
|
|
CentralBody |
Returns the primitive's central body. This is
the same central body returned from GetDefinition(). If several
properties are desired, it is more efficient to call
GetDefinition() once then make several calls to individual
properties. (Inherited from
IAgGxPrimitive.)
|
|
|
Contains(IAgGxPrimitive) |
Returns true if the primitive exists in the
composite.
|
|
|
Count |
Returns the number of primitives in the
composite.
|
|
|
DisplayCondition |
The display condition that affects if this
primitive is rendered.
|
|
|
DisplayCondition |
The display condition that affects if this
primitive is rendered. (Inherited from
IAgGxPrimitive.)
|
|
|
GetBoundingSphere(Double % , Double % , Double % , Double % ) |
|
|
|
GetBoundingSphere(Double % , Double % , Double % , Double % ) | (Inherited from
IAgGxPrimitive.)
|
|
|
GetDefinition(IAgGxCentralBody % , AgGxReferenceFrame % , IAgGxPrimitiveRenderer % , AgGxRenderPass % , Double % , Double % , Double % , Double % ) |
|
|
|
GetDefinition(IAgGxCentralBody % , AgGxReferenceFrame % , IAgGxPrimitiveRenderer % , AgGxRenderPass % , Double % , Double % , Double % , Double % ) | (Inherited from
IAgGxPrimitive.)
|
|
|
GetStateBlock(AgGxRenderPass) |
The state block that should be applied before
this primitive is rendered for the given render pass.
|
|
|
GetStateBlock(AgGxRenderPass) |
The state block that should be applied before
this primitive is rendered for the given render
pass. (Inherited from
IAgGxPrimitive.)
|
|
|
Node |
The node in the spatial data structure that
contains this primitive. This was passed to the primitive when it
was added to the primitive manager.
|
|
|
Node |
The node in the spatial data structure that
contains this primitive. This was passed to the primitive when it
was added to the primitive manager. (Inherited from
IAgGxPrimitive.)
|
|
|
ReferenceFrame |
Returns the reference frame this primitive is
defined and rendered in. This is the same reference frame returned
from GetDefinition(). If several properties are desired, it is more
efficient to call GetDefinition() once then make several calls to
individual ???
|
|
|
ReferenceFrame |
Returns the reference frame this primitive is
defined and rendered in. This is the same reference frame returned
from GetDefinition(). If several properties are desired, it is more
efficient to call GetDefinition() once then make several calls to
individual ??? (Inherited from
IAgGxPrimitive.)
|
|
|
Remove(IAgGxPrimitive) |
Removes a primitive from the composite. If the
primitive doesn't exist in the composite, this call has no
effect.
|
|
|
Render(IAgGxRendererContext, IAgGxDynamicScenePerFrustum, AgGxRenderPass) |
Called to render the primitive. The Renderer
should be used to set states, send draw commands, etc. The render
pass indicates the current rendering pass.
|
|
|
Render(IAgGxRendererContext, IAgGxDynamicScenePerFrustum, AgGxRenderPass) |
Called to render the primitive. The Renderer
should be used to set states, send draw commands, etc. The render
pass indicates the current rendering pass. (Inherited from
IAgGxPrimitive.)
|
|
|
Renderer |
Returns the renderer object used during
rendering. This may be null. This is the same renderer returned
from GetDefinition(). If several properties are desired, it is more
efficient to call GetDefinition() once then make several calls to
individual properti???
|
|
|
Renderer |
Returns the renderer object used during
rendering. This may be null. This is the same renderer returned
from GetDefinition(). If several properties are desired, it is more
efficient to call GetDefinition() once then make several calls to
individual properti??? (Inherited from
IAgGxPrimitive.)
|
|
|
RenderForPick(IAgGxRendererContext, IAgGxDynamicScenePerFrustum, AgGxRenderPass, IAgGxPickStack) |
Similar to Render() only called when the
primitive is rendered in response to a pick. Since it will only be
written to the back color buffer, effects like texturing can
sometimes be disabled.
|
|
|
RenderForPick(IAgGxRendererContext, IAgGxDynamicScenePerFrustum, AgGxRenderPass, IAgGxPickStack) |
Similar to Render() only called when the
primitive is rendered in response to a pick. Since it will only be
written to the back color buffer, effects like texturing can
sometimes be disabled. (Inherited from
IAgGxPrimitive.)
|
|
|
RenderPasses |
Returns the passes this primitive is rendered
during. This may be logically AgGxRenderPass values logically ORed
together if the primitive is rendered during more then one pass.
This is the same render passes returned from GetDefinition(). If
several proper???
|
|
|
RenderPasses |
Returns the passes this primitive is rendered
during. This may be logically AgGxRenderPass values logically ORed
together if the primitive is rendered during more then one pass.
This is the same render passes returned from GetDefinition(). If
several proper??? (Inherited from
IAgGxPrimitive.)
|
|
|
SetManagerReferences(IAgGxDirtyList, Int32) |
Passes the dirty list held by the primitive
manager to the primitive. The primitive should add itself to the
list whenever it moves otherwise it may be rendered
incorrectly.
|
|
|
SetManagerReferences(IAgGxDirtyList, Int32) |
Passes the dirty list held by the primitive
manager to the primitive. The primitive should add itself to the
list whenever it moves otherwise it may be rendered
incorrectly. (Inherited from
IAgGxPrimitive.)
|
Assembly: AGI.Graphics.Primitives.Interop(Module: AGI.Graphics.Primitives.Interop) Version: 9.0.0.0 (9.0.0.0)