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
SceneUtility
chevron_left Classes
class
SceneUtility

Static Methods

functionsGetPrefabSceneremove_circleInstantiateremove_circleMakeGameObjectsUniquefunctionsMakeIdGuidsUniquefunctionsRenderGameObjectToBitmapfunctionsRenderModelBitmapremove_circleRunInBatchGroup
SceneUtility
class Sandbox .
staticsealedabstractSandbox.Engine

functions Static Methods 7

GetPrefabScene (prefabFile)
PrefabScene
Get a (cached) scene from a PrefabFile
Instantiate (template, transform)
obsoleteGameObject
Create a unique copy of the passed in GameObject
MakeGameObjectsUnique (json, rootGuid)
obsolete
MakeIdGuidsUnique (json, rootGuid)
Dictionary`2
RenderGameObjectToBitmap (objSource, bitmap)
Render a GameObject to a bitmap. This is usually used for easily rendering "previews" of GameObjects, for things like saving thumbnails etc.
RenderModelBitmap (model, bitmap)
Render a Model to a bitmap. This is usually used for easily rendering "previews" of Models for thumbnails
RunInBatchGroup (action)
obsolete
Run an action inside a batch group. A batchgroup is used with GameObject and Components to make sure that their OnEnable/OnDisable and other callbacks are called in a deterministic order, and that they can find each other during creation.
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