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
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.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter