TriangleMeshPrimitive Properties |
The TriangleMeshPrimitive type exposes the following members.
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 triangle mesh.
| |
BoundingSphere |
Gets or sets the bounding sphere that encompasses the primitive.
The center is defined in the primitive's ReferenceFrame.
(Inherited from Primitive.) | |
CentralBodyClipped |
Gets or sets whether individual points will be clipped by the central body.
| |
Color |
Gets or sets the primitive's color.
(Inherited from Primitive.) | |
CullFace |
Gets or sets whether front and/or back-facing triangles may be culled. This is used
in combination with TriangleWindingOrder for culling.
| |
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.) | |
Lighting |
Gets or sets whether the primitive is lit.
| |
ReferenceFrame |
Gets or sets the reference frame this primitive is defined and rendered in.
(Inherited from Primitive.) | |
RenderBackThenFrontFaces |
Gets or sets whether the primitive is rendered in two passes to improve the visual quality
for translucent, convex meshes.
| |
SetHint |
Gets the primitive's SetHint.
See the Set Hint topic for more information on
selecting an appropriate value to construct the primitive with.
| |
ShadeModel |
Gets or sets the shading model for the mesh.
| |
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 to be drawn on the triangle mesh. Textures can be obtained from
SceneManager.Textures.
| |
TextureFilter |
Gets or sets the filter used for the Texture associated with this triangle mesh.
| |
Translucency |
Gets or sets the primitive's translucency.
Translucency is between 0 and 1,
where 0 is opaque and 1 is transparent.
(Overrides PrimitiveTranslucency.) | |
TriangleWindingOrder |
Gets or sets the orientation of front-facing triangles. This is used
in combination with CullFace for culling.
| |
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.
|