Class ElegyMapDocument

Namespace
Elegy.Common.Assets
Assembly
Elegy.Common.dll

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

List<CollisionMesh>

Entities

Map entities.

public List<Entity> Entities { get; set; }

Property Value

List<Entity>

OccluderMeshes

Occluder meshes for real-time dynamic occlusion culling.

public List<OccluderMesh> OccluderMeshes { get; set; }

Property Value

List<OccluderMesh>

RenderMeshes

Visual renderable meshes.

public List<RenderMesh> RenderMeshes { get; set; }

Property Value

List<RenderMesh>

WorldMeshIds

IDs of world meshes.

public List<int> WorldMeshIds { get; set; }

Property Value

List<int>

Methods

LoadJson(string)

Loads an ElegyMapDocument from a file.

public static ElegyMapDocument? LoadJson(string path)

Parameters

path string

Returns

ElegyMapDocument

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