Class ElegyMapDocument
Standard Elegy level format.
public class ElegyMapDocument
- Inheritance
-
ElegyMapDocument
- Inherited Members
Properties
CollisionMeshes
Collision meshes for collision detection.
public List<CollisionMesh> CollisionMeshes { get; set; }
Property Value
Entities
Map entities.
public List<Entity> Entities { get; set; }
Property Value
OccluderMeshes
Occluder meshes for real-time dynamic occlusion culling.
public List<OccluderMesh> OccluderMeshes { get; set; }
Property Value
RenderMeshes
Visual renderable meshes.
public List<RenderMesh> RenderMeshes { get; set; }
Property Value
WorldMeshIds
IDs of world meshes.
public List<int> WorldMeshIds { get; set; }
Property Value
Methods
LoadJson(string)
Loads an ElegyMapDocument from a file.
public static ElegyMapDocument? LoadJson(string path)
Parameters
path
string
Returns
Exceptions
- Exception
File isn't an ELF
WriteJson(string)
Writes the contents of this ElegyMapDocument to a file.
public void WriteJson(string path)
Parameters
path
string