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
Editor Classes
SceneExtensions
chevron_left Editor Classes
class
SceneExtensions

Static Methods

functionsCopyToClipboardfunctionsCreateContextMenufunctionsDisableEditorRigidBodiesfunctionsEnableEditorPhysicsfunctionsEnableEditorRigidBodyfunctionsGetAllfunctionsIsDeletablefunctionsPaintComponentIconfunctionsPasteComponentfunctionsPasteValuesfunctionsSetTargetTransformfunctionsShouldShowInHierarchy
SceneExtensions
class Sandbox .
staticsealedabstractextensionSandbox.Tools

functions Static Methods 12

CopyToClipboard (component)
Copy the target Sandbox.Component to the clipboard.
CreateContextMenu (scene, parent)
Menu
We should make this globally reachanle at some point. Should be able to draw icons using bitmaps etc too.
DisableEditorRigidBodies (scene)
EnableEditorPhysics (scene, enabled)
EnableEditorRigidBody (scene, body, enabled)
GetAll (target)
IEnumerable`1
IsDeletable (target)
bool
PaintComponentIcon (td, rect, opacity)
PasteComponent (target)
Paste a Sandbox.Component as a new component on the target Sandbox.GameObject.
PasteValues (target)
Paste component values from clipboard to the target Sandbox.Component.
SetTargetTransform (body, tx)
ShouldShowInHierarchy (target)
bool
Return true if this object should be shown in the GameObject list
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