Renders an indexed triangle list in a solid or
translucent color. Used to render things such as countries on the
globe.
| C# | Visual Basic | Visual C++ |
public interface IAgGxPrimitiveTriangleMesh : IAgGxPrimitiveWithColor
Public Interface IAgGxPrimitiveTriangleMesh _ Implements IAgGxPrimitiveWithColor
public interface class IAgGxPrimitiveTriangleMesh : IAgGxPrimitiveWithColor
| All Members | Methods | Properties | |||
|
|
|
|
|||
| Icon | Member | Description |
|---|---|---|
|
|
CentralBody |
|
|
|
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
IAgGxPrimitiveWithColor.)
|
|
|
Color |
The primitive's color. Use
System.Drawing.ColorTranslator.ToOle to assign this with a .NET
System.Drawing.Color.
|
|
|
Color |
The primitive's color. Use
System.Drawing.ColorTranslator.ToOle to assign this with a .NET
System.Drawing.Color. (Inherited from
IAgGxPrimitiveWithColor.)
|
|
|
CullFace |
Whether front or back-facing triangles are may
be culled. The default value is neither.
|
|
|
DisplayCondition |
|
|
|
DisplayCondition |
The display condition that affects if this
primitive is rendered. (Inherited from
IAgGxPrimitiveWithColor.)
|
|
|
GetBoundingSphere(Double % , Double % , Double % , Double % ) |
|
|
|
GetBoundingSphere(Double % , Double % , Double % , Double % ) | (Inherited from
IAgGxPrimitiveWithColor.)
|
|
|
GetDefinition(IAgGxCentralBody % , AgGxReferenceFrame % , IAgGxPrimitiveRenderer % , AgGxRenderPass % , Double % , Double % , Double % , Double % ) |
|
|
|
GetDefinition(IAgGxCentralBody % , AgGxReferenceFrame % , IAgGxPrimitiveRenderer % , AgGxRenderPass % , Double % , Double % , Double % , Double % ) | (Inherited from
IAgGxPrimitiveWithColor.)
|
|
|
GetRGBA(Byte % , Byte % , Byte % , Byte % ) |
|
|
|
GetRGBA(Byte % , Byte % , Byte % , Byte % ) | (Inherited from
IAgGxPrimitiveWithColor.)
|
|
|
GetStateBlock(AgGxRenderPass) |
|
|
|
GetStateBlock(AgGxRenderPass) |
The state block that should be applied before
this primitive is rendered for the given render
pass. (Inherited from
IAgGxPrimitiveWithColor.)
|
|
|
Initialize(IAgGxCentralBody, AgGxReferenceFrame, AgGxVertexUpdate, Array % , Array % , Array % ) |
|
|
|
InitializeFromTriangulator(IAgGxCentralBody, AgGxReferenceFrame, AgGxVertexUpdate, IAgGxTriangulator) |
Initializes the triangle mesh using a
Triangulator interface.
|
|
|
Node |
|
|
|
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
IAgGxPrimitiveWithColor.)
|
|
|
ReferenceFrame |
|
|
|
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
IAgGxPrimitiveWithColor.)
|
|
|
Render(IAgGxRendererContext, IAgGxDynamicScenePerFrustum, AgGxRenderPass) |
|
|
|
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
IAgGxPrimitiveWithColor.)
|
|
|
Renderer |
|
|
|
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
IAgGxPrimitiveWithColor.)
|
|
|
RenderForPick(IAgGxRendererContext, IAgGxDynamicScenePerFrustum, AgGxRenderPass, IAgGxPickStack) |
|
|
|
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
IAgGxPrimitiveWithColor.)
|
|
|
RenderPasses |
|
|
|
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
IAgGxPrimitiveWithColor.)
|
|
|
Set(Array % , Array % , Array % ) |
|
|
|
SetFromTriangulator(IAgGxTriangulator) |
Defines the mesh using a Triangulator
interface.
|
|
|
SetManagerReferences(IAgGxDirtyList, Int32) |
|
|
|
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
IAgGxPrimitiveWithColor.)
|
|
|
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.
|
|
|
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. (Inherited from
IAgGxPrimitiveWithColor.)
|
|
|
Translucency |
The primitive's translucency. Translucency is
between 0 and 100, where 0 is opaque and 100 is transparent.
|
|
|
Translucency |
The primitive's translucency. Translucency is
between 0 and 100, where 0 is opaque and 100 is
transparent. (Inherited from
IAgGxPrimitiveWithColor.)
|
|
|
VertexUpdate |
How the primitive's vertices are expected to
be updated with Set() or SetPartial() methods. This is provided to
the primitive's initialization methods so the primitive can provide
the best performance for the expected update pattern.
|
|
|
WindingOrder |
The orientation of front-facing triangles. The
default value is counterclockwise.
|
|
|
Wireframe |
True if the mesh is drawn as a wireframe.
Wireframe is useful for debugging purposes. The default value is
false.
|
Assembly: AGI.Graphics.Primitives.Interop(Module: AGI.Graphics.Primitives.Interop) Version: 9.0.0.0 (9.0.0.0)