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
Centre
public Vector3 Centre
Field Value
ClassName
public string ClassName
Field Value
Pairs
public Dictionary<string, string> Pairs
Field Value
Properties
Faces
public List<Face> Faces { get; set; }
Property Value
Methods
HasMaterialFlag(ToolMaterialFlag)
public bool HasMaterialFlag(ToolMaterialFlag flags)
Parameters
flags
ToolMaterialFlag
Returns
IsPointEntity()
public bool IsPointEntity()
Returns
IsWorld()
public bool IsWorld()
Returns
MoveFaces(Vector3)
Moves all vertex positions of this brush by offset
.
public void MoveFaces(Vector3 offset)
Parameters
offset
Vector3
RegenerateBounds()
public void RegenerateBounds()