A triangle mesh primitive that conforms to
terrain. Its input must always be vertices/positions on the
surface.
| C# | Visual Basic | Visual C++ |
public interface IAgGxPrimitiveSurfaceMesh : IAgGxPrimitiveWithColor
Public Interface IAgGxPrimitiveSurfaceMesh _ Implements IAgGxPrimitiveWithColor
public interface class IAgGxPrimitiveSurfaceMesh : 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.)
|
|
|
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.)
|
|
|
GetTextureMatrix(Double % , Double % , Double % , Double % , Double % , Double % , Double % , Double % , Double % ) |
|
|
|
InitializeFromTriangulator(IAgGxCentralBody, AgGxReferenceFrame, AgGxVertexUpdate, IAgGxTriangulatorSurface, IAgGxRendererTexture2D) |
Initializes the primitive 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.)
|
|
|
SetFromTriangulator(IAgGxTriangulatorSurface, IAgGxRendererTexture2D) |
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.)
|
|
|
SetTextureMatrix(Double, Double, Double, Double, Double, Double, Double, Double, Double) |
Set the matrix used to transform texture
coordinates when a texture is applied to the surface mesh. By
default this matrix is the identity. The upper left 2x2 matrix
defines rotation and scaling. The top two elements of the last
column define translation. ???
|
|
|
Supported |
True if the video card supports the suface
mesh primitive. Video cards supporting OpenGL 2.0 or higher should
support the surface mesh.
|
|
|
SupportedWithTexture |
True if the video card supports applying a
texture to the surface mesh primitive. Video cards supporting
OpenGL 2.0 or higher should support applying a texture to the
surface mesh.
|
|
|
Texture2D |
The texture applied to the surface mesh when
rendering.
|
|
|
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)