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
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.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter