ProjectedRaster Properties |
The ProjectedRaster type exposes the following members.
Name | Description | |
---|---|---|
AutomaticallyComputeBoundingSphere |
Gets or sets if the primitive's BoundingSphere is automatically computed.
(Inherited from Primitive.) | |
BorderColor |
Gets or sets the color of the Projection's border.
| |
BorderTranslucency |
Gets or sets the translucency of the Projection's border.
Translucency is between 0 and 1,
where 0 is opaque and 1 is transparent.
| |
BorderWidth |
Gets or sets the width of the Projection's border.
| |
BoundingSphere |
Gets or sets the bounding sphere that encompasses the primitive.
The center is defined in the primitive's ReferenceFrame.
(Inherited from Primitive.) | |
Color |
This method is not supported by ProjectedRaster.
(Overrides PrimitiveColor.) | |
Directions |
Gets the direction vectors in the projection's reference frame that define the Projection's frustum.
The collection contains the direction vector down the center of the projection, and the bottom left, bottom right, upper right, and upper left corner direction vectors, in that order.
If no direction can be calculated, Cartesian.Zero is returned.
| |
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.) | |
FarPlaneTranslucency |
Gets or sets the translucency of the Projection's far plane.
Translucency is between 0 and 1,
where 0 is opaque and 1 is transparent.
| |
FrustumColor |
Gets or sets the color of the Projection's frustum.
| |
FrustumTranslucency |
Gets or sets the translucency of the Projection's frustum.
Translucency is between 0 and 1,
where 0 is opaque and 1 is transparent.
| |
Projection |
Gets or sets the Projection that projects
the raster. | |
Raster |
Gets or sets the Raster that is
projected. | |
ReferenceFrame |
Gets or sets the reference frame that the Projection
is defined in.
(Overrides PrimitiveReferenceFrame.) | |
RenderPass |
Gets or sets the pass during which the projected raster is rendered. Changing the RenderPass
is useful when trying to set the rendering order of a projected raster against other primitives in a
OrderedCompositePrimitive. Ordering with [T:AGI::Foundation::Graphics::SurfaceMeshPrimitive]
requires a render pass of ProjectedRasterRenderPassCentralBodyClipped.
Ordering against all other primitives requires a render pass of
ProjectedRasterRenderPassTranslucent.
| |
ShadowColor |
Gets or sets the color of projection shadows.
| |
ShadowTranslucency |
Gets or sets the translucency of the projection shadows.
Translucency is between 0 and 1,
where 0 is opaque and 1 is transparent.
| |
ShowFarPlane |
Gets or sets whether to show the far plane of the Projection.
If this is set to true, you will see the projected Raster
even when it does not intersect terrain or the central body.
| |
ShowFrustum |
Gets or sets whether to show the frustum of the Projection.
| |
ShowShadows |
Gets or sets whether to show shadows or not. When set to true, the
Raster will only be projected onto parts of the terrain
visible from the Projection's position.
When false, the Raster will project onto any terrain inside the
Projection's view frustum. Shadows are more
realistic, but are slower to render.
| |
Supported |
Gets whether or not the video card supports the ProjectedRaster.
| |
Tag |
Gets or sets custom data associated with this primitive.
(Inherited from Primitive.) | |
Translucency |
Gets or sets the translucency of the Projection.
Translucency is between 0 and 1,
where 0 is opaque and 1 is transparent.
(Overrides PrimitiveTranslucency.) |