A primitive with a color and translucency.
Most primitives implement this interface, in addition to
IAgGxPrimitive. This allows you to create heterogeneous groups of
primitives that implement IAgGxPrimitiveWithColor so you can change
their color without dyna???
| C# | Visual Basic | Visual C++ |
public interface IAgGxPrimitiveWithColor : IAgGxPrimitive
Public Interface IAgGxPrimitiveWithColor _ Implements IAgGxPrimitive
public interface class IAgGxPrimitiveWithColor : IAgGxPrimitive
| All Members | Methods | Properties | |||
|
|
|
|
|||
| Icon | Member | Description |
|---|---|---|
|
|
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.)
|
|
|
Color |
The primitive's color. Use
System.Drawing.ColorTranslator.ToOle to assign this with a .NET
System.Drawing.Color.
|
|
|
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.)
|
|
|
GetRGBA(Byte % , Byte % , Byte % , Byte % ) |
|
|
|
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.)
|
|
|
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.)
|
|
|
SetRGBA(Byte, Byte, Byte, Byte) |
Sets the primitive's color using red, green,
blue and alpha components. Each component ranges from 0-255, where
255 is maximum intensity.
|
|
|
Translucency |
The primitive's translucency. Translucency is
between 0 and 100, where 0 is opaque and 100 is transparent.
|
Assembly: AGI.Graphics.Primitives.Interop(Module: AGI.Graphics.Primitives.Interop) Version: 9.0.0.0 (9.0.0.0)