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

Game Jam III

Starts Fri 4 Sep
Theme

Theme revealed when the jam starts.

£50,000
prizepool
Read more
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 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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter