s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
SceneCullingBox
chevron_left
Classes
class
SceneCullingBox
search
Constructors
functions
SceneCullingBox
Properties
data_object
IsValid
data_object
Mode
data_object
Size
data_object
Transform
data_object
World
Methods
functions
Delete
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
.
sealed
Sandbox.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.