s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
SceneCullingBox
chevron_left Classes
class
SceneCullingBox

Constructors

functionsSceneCullingBox

Properties

data_objectIsValiddata_objectModedata_objectSizedata_objectTransformdata_objectWorld

Methods

functionsDelete
SceneCullingBox
A box which can be used to explicitly control scene visibility. There are two modes: 1. Cull inside, hide any objects fully inside the box (excluder) 2. Cull outside, hide any objects not intersecting any cull boxes marked cull outside (includer)
class Sandbox .
sealedSandbox.Engine

build Constructors 1

SceneCullingBox (world, transform, size, mode)
Create a scene culling box. Each scene world can have a list of boxes which can be used to explicitly cull objects inside or outside the boxes.

data_object Properties 5

IsValid
bool
Is this culling box valid, exists inside a scene world.
Mode
CullMode
Cull mode, either inside or outside
Size
Vector3
Size of this box, transform scale will scale this size
Transform
Transform
Position and rotation of this box, scale will scale the box size
World
SceneWorld
The scene world this culling box belongs to.

functions Methods 1

Delete ()
Delete this culling box. You shouldn't access it anymore.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter