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

Properties

data_objectAnglesdata_objectChildrendata_objectGeneratesEntityModelGeometrydata_objectNamedata_objectParentdata_objectPositiondata_objectScaledata_objectTypeStringdata_objectVisibledata_objectWorld

Methods

functionsCopyfunctionsRemove
MapNode
A common class used for all objects in the world object tree.
class Editor.MapDoc .
Sandbox.Tools

data_object Properties 10

Angles
Angles
Euler angles of this map node.
Children
IEnumerable`1
Each MapNode can have many children. Children usually transform with their parents, etc.
GeneratesEntityModelGeometry
bool
Does this map node generate models to use?
Name
string
User specified name of this node
Parent
MapNode
The parent node, at the top level this will be the Editor.MapDoc.MapWorld
Position
Vector3
World position of this map node.
Scale
Vector3
Non-uniform scalar for this map node.
TypeString
string
Native C++ type name for this map node (nice for debug, might disappear at some point)
Visible
bool
Visibility of this MapNode, e.g if it's been hidden by the user
World
MapWorld
The world this map node belongs to.

functions Methods 2

Copy ()
MapNode
Creates a copy of this map node.
Remove ()

Inheritance

MapNode
MapEntity
MapGameObject
MapGroup
MapInstance
MapMesh
MapStaticOverlay
MapPath
MapPathNode
MapWorld
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