SurfaceMeshPrimitive Class |
Namespace: AGI.Foundation.Graphics
The SurfaceMeshPrimitive type exposes the following members.
Name | Description | |
---|---|---|
SurfaceMeshPrimitive |
Initializes a default surface mesh primitive. This is
equivalent to constructing a surface mesh with a
SetHint
of Frequent and a
SurfaceMeshRenderingMethod
of Automatic.
| |
SurfaceMeshPrimitive(SetHint) |
Initializes a surface mesh primitive with the specified setHint.
This is equivalent to constructing a surface mesh with the specified
setHint and a
SurfaceMeshRenderingMethod
of Automatic.
| |
SurfaceMeshPrimitive(SetHint, SurfaceMeshRenderingMethod) |
Initializes a surface mesh primitive with the specified setHint
and renderingMethod.
|
Name | Description | |
---|---|---|
AutomaticallyComputeBoundingSphere |
Gets or sets if the primitive's BoundingSphere is automatically computed.
(Inherited from Primitive.) | |
BlendingColor |
Gets or sets the blending color.
| |
BlendingEquation |
Gets or set the blending equation used when compositing a transparent surface mesh.
| |
BoundingSphere |
Gets or sets the bounding sphere that encompasses the primitive.
The center is defined in the primitive's ReferenceFrame.
(Inherited from Primitive.) | |
Color |
Gets or sets the primitive's color.
(Inherited from Primitive.) | |
DestinationBlendingFunction |
Gets or set the blending function that is used to modify the destination color before the final
blending operation occurs.
| |
Display |
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.) | |
DisplayCondition |
Gets or sets the display condition that determines if the primitive should be
rendered.
Both this and Display must evaluate to true for
the primitive to be rendered.
(Inherited from Primitive.) | |
ReferenceFrame |
Gets or sets the reference frame this primitive is defined and rendered in.
(Inherited from Primitive.) | |
RenderingMethod |
Gets the rendering method used to render the mesh.
| |
SetHint |
Gets the primitive's SetHint.
See the Set Hint topic for more information on
selecting an appropriate value to construct the primitive with.
| |
SourceBlendingFunction |
Gets or set the blending function that is used to modify the source color before the final
blending operation occurs.
| |
Tag |
Gets or sets custom data associated with this primitive.
(Inherited from Primitive.) | |
Texture |
Gets or sets the texture applied to this primitive when rendering.
| |
TextureFilter |
Gets or sets the filter used when a Texture is applied to this primitive.
| |
TextureMatrix |
Gets or sets the matrix used to transform texture coordinates when a Texture
is applied to this primitive.
| |
Translucency |
Gets or sets the primitive's translucency.
Translucency is between 0 and 1,
where 0 is opaque and 1 is transparent.
(Inherited from Primitive.) | |
TransparentTextureBorder |
Gets or set the boolean that defines if the color obtained from texture coordinates beyond
the texture border should be considered transparent or not. This is typically used in
conjunction with the a TextureMatrix.
| |
TriangleWindingOrder |
Gets the orientation of front-facing triangles in the mesh.
| |
UseCustomBlendingParameters |
Gets or set the boolean that defines if custom blending parameters will be used or if it will
use the blending parameters set by the particular rendering pass.
| |
Wireframe |
Gets or sets whether the primitive is rendered in wireframe. This is useful for debugging.
|
Name | Description | |
---|---|---|
Dispose | (Inherited from Primitive.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
Set |
Defines the surface mesh using the specified surfaceTriangulator.
The mesh is rendered in the primitive's ReferenceFrame.
| |
SetWithoutTexturing |
Defines the surface mesh using the specified surfaceTriangulator.
The mesh is rendered in the primitive's ReferenceFrame.
| |
Supported |
Determines whether or not the video card supports the surface mesh primitive.
This is equivalent to calling
Supported(SurfaceMeshRenderingMethod)
with Automatic.
| |
Supported(SurfaceMeshRenderingMethod) |
Determines whether or not the video card supports the surface mesh primitive
with the given renderingMethod.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |