API ReferenceSandbox
SceneWorldclass
A scene world that contains `Sandbox.SceneObject`s. See Utility.CreateSceneWorld. You may also want a `Sandbox.SceneCamera` to manually render the scene world.
object→SceneWorld
Constructors1
Showing 1 constructors
public SceneWorld()
No results match this filter.
Methods2
Showing 2 methods
public void Delete()
Delete this scene world. You shouldn't access it anymore.
Returns:
void—public 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.
Returns:
void—No results match this filter.
Properties2
Showing 2 properties
public System.Collections.Generic.IReadOnlyCollection`1<Sandbox.SceneObject> Sandbox.SceneWorld.SceneObjects { get; set; }
List of scene objects belonging to this scene world.
public Sandbox.Engine.Utility.RayTrace.MeshTraceRequest Sandbox.SceneWorld.Trace { get; set; }
Trace against all scene objects in this scene world
No results match this filter.