Show / Hide Table of Contents

Class Map

Inheritance
System.Object
Map
Implements
System.ICloneable
IBsonSerialize
IBsonSerializable
IBsonDeserializable
Namespace: Eco.Shared.Services
Assembly: Eco.Shared.dll
Syntax
[Serialized]
[BsonAutoSerialize]
public class Map : Object, ICloneable, IBsonSerialize, IBsonSerializable, IBsonDeserializable

Constructors

Map()

Declaration
public Map()

Map(String, Range)

Declaration
public Map(string worldLayer, Range timeRangeSeconds)
Parameters
Type Name Description
System.String worldLayer
Range timeRangeSeconds

Properties

CameraPosition

Declaration
[Serialized]
public Vector3 CameraPosition { get; set; }
Property Value
Type Description
System.Numerics.Vector3

CurrentTimeSeconds

Declaration
[Serialized]
public double CurrentTimeSeconds { get; set; }
Property Value
Type Description
System.Double

Flat

Declaration
[Serialized]
public bool Flat { get; set; }
Property Value
Type Description
System.Boolean

Frame

Declaration
[Serialized]
public int Frame { get; set; }
Property Value
Type Description
System.Int32

Pause

Declaration
[Serialized]
public bool Pause { get; set; }
Property Value
Type Description
System.Boolean

PlaySpeed

Declaration
[Serialized]
public double PlaySpeed { get; set; }
Property Value
Type Description
System.Double

TimeEndSeconds

Declaration
[Serialized]
public double TimeEndSeconds { get; set; }
Property Value
Type Description
System.Double

TimeStartSeconds

Declaration
[Serialized]
public double TimeStartSeconds { get; set; }
Property Value
Type Description
System.Double

WorldLayer

Declaration
[Serialized]
public string WorldLayer { get; set; }
Property Value
Type Description
System.String

Methods

Clone()

Declaration
public object Clone()
Returns
Type Description
System.Object

FromBson(BSONArray)

Declaration
public void FromBson(BSONArray bson)
Parameters
Type Name Description
BSONArray bson

ToBson()

Declaration
public BSONArray ToBson()
Returns
Type Description
BSONArray

Implements

System.ICloneable
IBsonSerialize
IBsonSerializable
IBsonDeserializable

Extension Methods

CommandLine.FeedFromCommandLine(Object)
CommandLine.ToCommandLineArgs(Object, Func<Object, Boolean>)
ListUtil.DepthFirstTraversal<T>(T, Func<T, IEnumerable<T>>)
EnumerableExtensions.SingleItemAsEnumerable<T>(T)
EventUtils.RaiseEvent<TEventArgs>(Object, String, TEventArgs)
PredicateUtils.MatchesAll<TEnumerable, T>(T, TEnumerable)
PredicateUtils.MatchesAll<T>(T, Func<T, Boolean>[])
PredicateUtils.MatchesAny<TEnumerable, T>(T, TEnumerable)
ReflectionUtils.PropertyValue<T>(Object, PropertyInfo)
ReflectionUtils.TryGetPropertyValueByName<T>(Object, String, out T)
ReflectionUtils.GetPropertyValueByName<T>(Object, String)
ReflectionUtils.SetPropertyByName(Object, String, Object)
ReflectionUtils.GetStructPropertyByName<T>(Object, String)
ReflectionUtils.GetStringPropertyByName(Object, String)
ReflectionUtils.ZipByProperty<T>(Object, Object, Object, Func<T, T, T>)
☀
☾
In This Article
Back to top
Copyright (c) Strange Loop Games 2021
☀
☾