s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News
jams
Workshop
Steam
open_in_newSteam Workshop
Assets
view_in_arModels textureMaterials apparelClothing
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Components
VolumeComponent
chevron_left Components
class
VolumeComponent

Constructors

lockVolumeComponent

Properties

data_objectIsInfinitedata_objectSceneVolume

Methods

lockDrawGizmosfunctionsGetEdgeDistance
VolumeComponent
class Sandbox.Volumes .account_tree extends Component
abstractSandbox.Engine

build Constructors 1

VolumeComponent ()

data_object Properties 2

IsInfinite
bool
True if SceneVolume.Type == SceneVolume.VolumeTypes.Infinite
SceneVolume
SceneVolume
Shape and local dimensions of this volume, edited with the shared volume controls.

functions Methods 2

DrawGizmos ()
GetEdgeDistance (worldPosition)
float
Calculates the shortest distance from the specified world position to the nearest edge of the scene volume.

Inheritance

Component
VolumeComponent
DspVolume
ModelDeformer
NavMeshArea
PostProcessVolume
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter