class
SceneWorld
public sealed class SceneWorld A scene world that contains SceneObjects. See Utility.CreateSceneWorld. You may also want a SceneCamera to manually render the scene world.
Constructors
SceneWorld() Properties
| Name | Type | Description |
|---|---|---|
SceneObjects | IReadOnlyCollection<SceneObject> | List of scene objects belonging to this scene world. |
Trace | MeshTraceRequest | Trace against all scene objects in this scene world |
Methods
Void Delete() Delete this scene world. You shouldn't access it anymore.
Void DeletePendingObjects() Deleted objects are actually deleted at the end of each frame. Call this to actually delete pending deletes right now instead of waiting.
Fields
| Name | Type | Description |
|---|---|---|
GradientFog | GradientFogSetup | Controls gradient fog settings. |
AmbientLightColor | Color | Sets the ambient lighting color |
ClearColor | Color | Sets the clear color, if nothing else is drawn, this is the color you will see |