s&box docs

public class Editor.MapClass

Represents an entity class used by the map editor

Constructors

Showing 1 constructors

Properties

Showing 18 properties

public string Editor.MapClass.Category { get; set; }

Category

public string Editor.MapClass.Description { get; set; }

Human readable name e.g Physics Prop

public string Editor.MapClass.DisplayName { get; set; }

Display name e.g Physics Prop

public System.Collections.Generic.List`1<System.Tuple`2<string,string[]>> Editor.MapClass.EditorHelpers { get; set; }

In-editor helpers for this class, such as box visualizers for certain properties, etc.

public string Editor.MapClass.GameIdent { get; set; }

What game does this belong to? ( TODO: Might not be best place for this? )

public string Editor.MapClass.Icon { get; set; }

Icon ( Material )

public System.Collections.Generic.List`1<Editor.Input> Editor.MapClass.Inputs { get; set; }

List of inputs for this class.

public bool Editor.MapClass.IsCableClass { get; set; }

A cable entity, will appear in the Path Tool.

public bool Editor.MapClass.IsPathClass { get; set; }

A path entity, will appear in the Path Tool.

public bool Editor.MapClass.IsPointClass { get; set; }

A point entity, i.e. a model entity, etc.

public bool Editor.MapClass.IsSolidClass { get; set; }

A solid class entity, triggers, etc., entities that are tied to from a mesh in Hammer

public System.Collections.Generic.Dictionary`2<string,object> Editor.MapClass.Metadata { get; set; }

General purpose key-value store to alter functionality of UI, map compilation, editor helpers, etc.

public string Editor.MapClass.Name { get; set; }

Class name e.g prop_physics

public System.Collections.Generic.List`1<Editor.Output> Editor.MapClass.Outputs { get; set; }

List of outputs for this class.

public System.Collections.Generic.List`1<string> Editor.MapClass.Tags { get; set; }

General purpose tags, some with special meanings within Hammer and map compilers.

public System.Collections.Generic.List`1<Editor.MapClassVariable> Editor.MapClass.Variables { get; set; }

List of properties exposed to tools for this class.

Metadata

FieldValue
NamespaceEditor
Typeclass
AssemblySandbox.Tools
Doc IDT:Editor.MapClass

On this page