Constructor SceneEnvironment
SceneEnvironment()
Initializes a new instance of the SceneEnvironment class.
Declaration
public SceneEnvironment()
Remarks
The defaults are: opaque black background, VirtualLighting lighting, and atmosphere and stars enabled.
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |
SceneEnvironment(bool, bool, SceneLighting, Color)
Initializes a new instance of the SceneEnvironment class.
Declaration
public SceneEnvironment(bool isAtmosphereEnabled, bool areStarsEnabled, SceneLighting lighting, Color backgroundColor)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | isAtmosphereEnabled |
|
| bool | areStarsEnabled |
|
| SceneLighting | lighting | The lighting object containing information on how the scene is lit. |
| Color | backgroundColor | The background color displayed behind any scene objects. |
Applies to
Platforms and versions
| Target | Versions |
|---|---|
| .NET | 300 |
| .NET Windows | 300 |
| .NET Android | 300 |
| .NET iOS | 300 |