Api Sandbox Volumes VolumeSystem
class

VolumeSystem

public sealed class VolumeSystem : GameObjectSystem<T>

A base GameObjectSystem for handling of IVolume components. You can use this to find volume components by position.

Constructors

VolumeSystem(Scene scene)

Methods

T FindSingle(Vector3 position)

Find a volume of this type, at this point. Will return null if none.

IEnumerable<T> FindAll(Vector3 position)

Find all volumes of this type, at this point

Assembly: Sandbox.Engine Namespace: Sandbox.Volumes Full Name: Sandbox.Volumes.VolumeSystem