Click or drag to resize

ProjectedRaster Class

A Primitive which projects a Raster onto the terrain or surface of the CentralBody. The ProjectedRaster can also be used with RasterStream and ProjectionStream to stream video and other raster data to a projection that moves with time.
Inheritance Hierarchy

Namespace:  AGI.Foundation.Graphics
Assembly:  AGI.Foundation.Graphics (in AGI.Foundation.Graphics.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public sealed class ProjectedRaster : Primitive

The ProjectedRaster type exposes the following members.

Constructors
  NameDescription
Public methodProjectedRaster
Initializes a new instance.
Top
Properties
  NameDescription
Public propertyAutomaticallyComputeBoundingSphere
Gets or sets if the primitive's BoundingSphere is automatically computed.
(Inherited from Primitive.)
Public propertyBorderColor
Gets or sets the color of the Projection's border.
Public propertyBorderTranslucency
Gets or sets the translucency of the Projection's border. Translucency is between 0 and 1, where 0 is opaque and 1 is transparent.
Public propertyBorderWidth
Gets or sets the width of the Projection's border.
Public propertyBoundingSphere
Gets or sets the bounding sphere that encompasses the primitive. The center is defined in the primitive's ReferenceFrame.
(Inherited from Primitive.)
Public propertyColor
This method is not supported by ProjectedRaster.
(Overrides PrimitiveColor.)
Public propertyDirections
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.
Public propertyDisplay
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.)
Public propertyDisplayCondition
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.)
Public propertyFarPlaneTranslucency
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.
Public propertyFrustumColor
Gets or sets the color of the Projection's frustum.
Public propertyFrustumTranslucency
Gets or sets the translucency of the Projection's frustum. Translucency is between 0 and 1, where 0 is opaque and 1 is transparent.
Public propertyProjection
Gets or sets the Projection that projects the raster.
Public propertyRaster
Gets or sets the Raster that is projected.
Public propertyReferenceFrame
Gets or sets the reference frame that the Projection is defined in.
(Overrides PrimitiveReferenceFrame.)
Public propertyRenderPass
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.
Public propertyShadowColor
Gets or sets the color of projection shadows.
Public propertyShadowTranslucency
Gets or sets the translucency of the projection shadows. Translucency is between 0 and 1, where 0 is opaque and 1 is transparent.
Public propertyShowFarPlane
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.
Public propertyShowFrustum
Gets or sets whether to show the frustum of the Projection.
Public propertyShowShadows
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.
Public propertyStatic memberSupported
Gets whether or not the video card supports the ProjectedRaster.
Public propertyTag
Gets or sets custom data associated with this primitive.
(Inherited from Primitive.)
Public propertyTranslucency
Gets or sets the translucency of the Projection. Translucency is between 0 and 1, where 0 is opaque and 1 is transparent.
(Overrides PrimitiveTranslucency.)
Top
Methods
  NameDescription
Public methodDispose (Inherited from Primitive.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also