Scene Class |
Namespace: AGI.Foundation.Graphics
The Scene type exposes the following members.
Name | Description | |
---|---|---|
AntiAliasing |
Gets or sets the multisample anti-aliasing (MSAA) option for this scene. As the level of anti-aliasing increases,
performance will generally decrease, but the quality of the anti-aliasing will improve.
| |
BackgroundColor |
Gets or sets the background color of the scene.
| |
Balloon |
Gets the Balloon for the scene.
| |
Camera |
Gets the Camera
associated with the scene, which affects the view that is rendered by the scene.
| |
CentralBodies |
Gets the CentralBodyGraphics for a
specified CentralBody.
| |
Clouds |
Gets the Clouds for the scene.
| |
FogDensity |
Gets or sets the density of atmospheric fog drawn around the
CentralBody when
the Camera is close to the ground.
Values range from 0 (no fog) to 1 (full fog).
| |
GlobeOverlaySettings |
Gets the SceneGlobeOverlaySettings for the scene.
| |
Lighting |
Gets the Lighting
associated with the scene.
| |
ShadeSkyBasedOnAltitude |
Gets or sets whether the sky will be shaded based on Camera altitude.
When ShadeSkyBasedOnAltitude is set to true, the sky
will become more blue as the Camera gets closer to the surface of the
CentralBody.
| |
ShowAtmosphere |
Gets or sets whether the atmosphere will be drawn around the
CentralBody.
| |
ShowStars |
Gets or sets whether stars are shown or hidden in the scene.
| |
ShowSunshine |
Gets or sets whether sunshine is rendered by the Sun CentralBody.
Sunshine renders a halo effect around the sun when it is viewed in the scene.
| |
ShowWaterSurface |
Gets or sets whether water surface on earth is shown or hidden in the scene.
| |
VisualEffects |
Gets the Visual Effects
associated with the scene.
|
Name | Description | |
---|---|---|
Dispose | ||
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.) | |
Pick |
Executes a pick at the given x, y and returns a depth sorted collection of picked objects.
The coordinate origin is top, left. To pick screen overlays, use the
PickScreenOverlays(Int32, Int32) method.
| |
PickRectangular |
Executes a pick in the given rectangular region and returns a depth sorted collection of picked objects.
The coordinate origin is top, left. To pick screen overlays, use the
PickScreenOverlays(Int32, Int32) method.
| |
PickScreenOverlays |
Executes a pick on screen overlays at the given x, y
and returns a front to back sorted collection of picked overlays.
The coordinate origin is top, left. To pick other objects in the scene,
use the Pick(Int32, Int32) method.
| |
Render |
Renders the scene. To render all the scenes within an application, use the
SceneManager.Render method.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
Rendering |
Raised when either Render is called on the scene or
Render is called on the
SceneManager.
The event occurs immediately prior to rendering the scene.
|