s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
voting
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
Voting is open. Play the entries and pick the winner.
£
50,000
prizepool
View the jam
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
Get s&box
Sign in with Steam
Api
Classes
SceneUtility
chevron_left
Classes
class
SceneUtility
Static Methods
functions
GetPrefabScene
remove_circle
Instantiate
remove_circle
MakeGameObjectsUnique
functions
MakeIdGuidsUnique
functions
RenderGameObjectToBitmap
functions
RenderModelBitmap
remove_circle
RunInBatchGroup
SceneUtility
class
Sandbox
.
static
sealed
abstract
Sandbox.Engine
functions
Static Methods
7
GetPrefabScene
(
prefabFile
)
PrefabScene
Get a (cached) scene from a PrefabFile
Instantiate
(
template
,
transform
)
obsolete
GameObject
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.