API ReferenceSandbox.Volumes

VolumeSystemclass

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

objectGameObjectSystem<T>VolumeSystem
Namespace
Sandbox.Volumes
Assembly
Sandbox.Engine
Declaration
public sealed class Sandbox.Volumes.VolumeSystem : Sandbox.GameObjectSystem<T>

Constructors1

Showing 1 constructors

Methods2

Showing 2 methods

public System.Collections.Generic.IEnumerable`1<T> FindAll(Vector3 position)PUBLIC

Find all volumes of this type, at this point

ParameterTypeDescription
positionVector3
Returns:IEnumerable<T>

public T FindSingle(Vector3 position)PUBLIC

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

ParameterTypeDescription
positionVector3
Returns:T

On this page