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

Date
Theme

Date announced very soon. Theme revealed when the jam starts.

$50,000
prizepool
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
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
SceneWorld
chevron_left Classes
class
SceneWorld

Constructors

functionsSceneWorld

Fields

crop_dinAmbientLightColorremove_circleClearColorcrop_dinGradientFog

Properties

data_objectSceneObjectsdata_objectTrace

Methods

functionsDeletefunctionsDeletePendingObjects
SceneWorld
A scene world that contains Sandbox.SceneObjects. See Utility.CreateSceneWorld. <para>You may also want a Sandbox.SceneCamera to manually render the scene world.</para>
class Sandbox .
sealedSandbox.Engine

build Constructors 1

SceneWorld ()

crop_din Fields 3

AmbientLightColor
Color
Sets the ambient lighting color
ClearColor
obsoleteColor
Sets the clear color, if nothing else is drawn, this is the color you will see
GradientFog
GradientFogSetup
Controls gradient fog settings.

data_object Properties 2

SceneObjects
IReadOnlyCollection`1
List of scene objects belonging to this scene world.
Trace
MeshTraceRequest
Trace against all scene objects in this scene world

functions Methods 2

Delete ()
Delete this scene world. You shouldn't access it anymore.
DeletePendingObjects ()
Deleted objects are actually deleted at the end of each frame. Call this to actually delete pending deletes right now instead of waiting.
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