s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
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
search
Static Methods
functions
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
)
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.