s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
inputLog in with Steam
Api
Editor Classes
Selection
chevron_left Editor Classes
class
Selection

Static Properties

data_objectAlldata_objectPivotPositiondata_objectSelectMode

Static Methods

functionsAddfunctionsClearfunctionsInvertSelectionfunctionsRemovefunctionsSelectAllfunctionsSet
Selection
Current selection set for the active map
class Editor.MapEditor .
staticsealedabstractSandbox.Tools

Remarks

Currently this only supports Editor.MapDoc.MapNode selections. There are selections of vertices, edges, faces too that would likely change this API

data_object Static Properties 3

All
IEnumerable`1
All the map nodes in the current selection set
PivotPosition
Vector3
The position of the selection's pivot
SelectMode
SelectMode
The current selection mode e.g Meshes or Objects

functions Static Methods 6

Add (node)
Add the map node to the current set
Clear ()
Clear everything from the current selection set
InvertSelection ()
Invert the current selection
Remove (node)
Remove this map node from the current set if it exists
SelectAll ()
Add all to the current selection
Set (node)
Clear the current set, making the map node the only selected node
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter