DIFF

class EditorAttributeSource

Part of Entity editor attribute system

Constructors 1

void EditorAttribute(string style, string category, string description, vector sizeMin, vector sizeMax, string color, string color2 = "0 0 0 0", bool visible = true, bool insertable = true, bool dynamicBox = false)

Members 10

string m_Style

can be "box", "sphere", "cylinder", "pyramid", "diamond" or custom style name

Referenced by EditorAttribute()
string m_Category

folder structure eg. StaticEntities/Walls

Referenced by EditorAttribute()
string m_Description

class purpose description

Referenced by EditorAttribute()
vector m_SizeMin

min vector of a bounding box

Referenced by EditorAttribute()
vector m_SizeMax

max vector of a bounding box

Referenced by EditorAttribute()
string m_Color
Referenced by EditorAttribute()
string m_Color2
Referenced by EditorAttribute()
bool m_Visible
Referenced by EditorAttribute()
bool m_Insertable
Referenced by EditorAttribute()
bool m_DynamicBox
Referenced by EditorAttribute()