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

Constructors

functionsMapClass

Properties

data_objectCategorydata_objectDescriptiondata_objectDisplayNamedata_objectEditorHelpersdata_objectGameIdentdata_objectIcondata_objectInputsdata_objectIsCableClassdata_objectIsPathClassdata_objectIsPointClassdata_objectIsSolidClassdata_objectMetadatadata_objectNamedata_objectOutputsdata_objectPackagedata_objectTagsdata_objectTypedata_objectVariables
MapClass
Represents an entity class used by the map editor
class Editor .
Sandbox.Tools

build Constructors 1

MapClass (name)

data_object Properties 18

Category
string
Category
Description
string
Human readable name e.g Physics Prop
DisplayName
string
Display name e.g Physics Prop
EditorHelpers
List`1
In-editor helpers for this class, such as box visualizers for certain properties, etc.
GameIdent
string
What game does this belong to? ( TODO: Might not be best place for this? )
Icon
string
Icon ( Material )
Inputs
List`1
List of inputs for this class.
IsCableClass
bool
A cable entity, will appear in the Path Tool.
IsPathClass
bool
A path entity, will appear in the Path Tool.
IsPointClass
bool
A point entity, i.e. a model entity, etc.
IsSolidClass
bool
A solid class entity, triggers, etc., entities that are tied to from a mesh in Hammer
Metadata
Dictionary`2
General purpose key-value store to alter functionality of UI, map compilation, editor helpers, etc.
Name
string
Class name e.g prop_physics
Outputs
List`1
List of outputs for this class.
Package
Package
What package did this entity come from?
Tags
List`1
General purpose tags, some with special meanings within Hammer and map compilers.
Type
Type
C# Type of this class
Variables
List`1
List of properties exposed to tools for this class.
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