API ReferenceSandbox.Volumes
public abstract class Sandbox.Volumes.VolumeComponent : Sandbox.Component
Constructors
Showing 1 constructors
protected VolumeComponent()
No results match this filter.
Methods
Showing 2 methods
protected virtual void DrawGizmos()
public float GetEdgeDistance(Vector3 worldPosition)
Calculates the shortest distance from the specified world position to the nearest edge of the scene volume.
No results match this filter.
Properties
Showing 2 properties
public bool Sandbox.Volumes.VolumeComponent.IsInfinite { get; set; }
True if SceneVolume.Type == SceneVolume.VolumeTypes.Infinite
public Sandbox.Volumes.SceneVolume Sandbox.Volumes.VolumeComponent.SceneVolume { get; set; }
No results match this filter.
Metadata
| Field | Value |
|---|---|
| Namespace | Sandbox.Volumes |
| Type | class |
| Assembly | Sandbox.Engine |
| Doc ID | T:Sandbox.Volumes.VolumeComponent |