s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejams
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
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