Class Entity

Namespace
Elegy.MapCompiler.Data.Processing
Assembly
Elegy.MapCompiler.dll
public class Entity
Inheritance
Entity
Inherited Members

Constructors

Entity(Entity)

public Entity(Entity entity)

Parameters

entity Entity

Fields

BoundingBox

public Box3 BoundingBox

Field Value

Box3

Centre

public Vector3 Centre

Field Value

Vector3

ClassName

public string ClassName

Field Value

string

Pairs

public Dictionary<string, string> Pairs

Field Value

Dictionary<string, string>

Properties

Faces

public List<Face> Faces { get; set; }

Property Value

List<Face>

Methods

HasMaterialFlag(ToolMaterialFlag)

public bool HasMaterialFlag(ToolMaterialFlag flags)

Parameters

flags ToolMaterialFlag

Returns

bool

IsPointEntity()

public bool IsPointEntity()

Returns

bool

IsWorld()

public bool IsWorld()

Returns

bool

MoveFaces(Vector3)

Moves all vertex positions of this brush by offset.

public void MoveFaces(Vector3 offset)

Parameters

offset Vector3

RegenerateBounds()

public void RegenerateBounds()