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
Selection
chevron_left
Editor Classes
class
Selection
search
Static Properties
data_object
All
data_object
PivotPosition
data_object
SelectMode
Static Methods
functions
Add
functions
Clear
functions
InvertSelection
functions
Remove
functions
SelectAll
functions
Set
Selection
Current selection set for the active map
class
Editor.MapEditor
.
static
sealed
abstract
Sandbox.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.