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
live now
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
The jam is running. Build something, or play the entries.
£
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
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
Editor Classes
SandboxToolExtensions
chevron_left
Editor Classes
class
SandboxToolExtensions
Static Methods
remove_circle
BeginApplyFrame
functions
ConstructTitle
functions
FindPathInScene
functions
FromConsoleVariable
functions
FromConsoleVariableInt
functions
GetAssets
functions
GetContainingGameObject
functions
GetSerialized
functions
RenderToPixmap
functions
RenderToVideo
functions
RenderToVideoAsync
functions
SetFavouriteAsync
functions
SetVoteAsync
functions
UpdateValue
functions
UploadFile
functions
UploadVideo
functions
WaitForLoadAsync
SandboxToolExtensions
class
Sandbox
.
static
sealed
abstract
extension
Sandbox.Tools
functions
Static Methods
17
BeginApplyFrame
(
player
)
obsolete
IDisposable
Creates a scope for applying a frame in a Sandbox.MovieMaker.MoviePlayer. Dispose after modifying any properties controlled by the movie.
ConstructTitle
(
sys
)
string
Create a feasible title from the current selection
FindPathInScene
(
prop
)
PropertyPath
Tries to find the path from a Sandbox.GameObject or Sandbox.Component to this property. Returns
if not found.
FromConsoleVariable
(
self
,
name
)
Link
Bind the Left hand side to the value of the given console variable.
FromConsoleVariableInt
(
self
,
name
)
Link
Bind the Left hand side to the value of the given console variable as an integer.
GetAssets
(
project
)
Asset[]
Get all assets in this project
GetContainingGameObject
(
prop
)
GameObject
Tries to find the Sandbox.GameObject that contains the given property. Returns
if not found.
GetSerialized
(
self
)
SerializedObject
Shortcut for EditorTypeLibrary.GetSerializedObject( x )
RenderToPixmap
(
camera
,
targetPixmap
,
async
)
bool
Render this camera to the target widget. Once you do this the target widget becomes "externally painted", so you won't be able to paint on it anymore with Qt's Paint stuff.
RenderToVideo
(
camera
,
videoWriter
,
time
)
bool
RenderToVideoAsync
(
camera
,
videoWriter
,
time
)
Task`1
SetFavouriteAsync
(
package
,
state
)
Task
Mark this package as a favourite
SetVoteAsync
(
package
,
up
)
Task
Add your vote for this package
UpdateValue
(
package
,
key
,
value
,
token
)
Task
Update a value on this package
UploadFile
(
package
,
absolutePath
,
relativePath
,
progress
,
token
)
Task`1
Mark this package as a favourite
UploadVideo
(
asset
,
contents
,
isThumbVideo
,
hidden
,
tag
,
progress
,
token
)
Task`1
Upload a video for this package
WaitForLoadAsync
(
resource
,
ct
)
Task
Creates a task that completes when
is fully loaded.
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.