Table of Contents

Struct EntityData

Namespace
Coherence.Entities
Assembly
Coherence.Entities.dll
public struct EntityData

Fields

FloatingOriginDelta

public Vector3 FloatingOriginDelta

Field Value

Vector3

Properties

Count

public int Count { get; }

Property Value

int

Store

public readonly SortedValueMap<uint, ComponentChange> Store { get; }

Property Value

SortedValueMap<uint, ComponentChange>

Methods

ClearMask(ComponentChange)

public void ClearMask(ComponentChange change)

Parameters

change ComponentChange

Clone()

public EntityData Clone()

Returns

EntityData

New(IDictionary<uint, ComponentChange>)

public static EntityData New(IDictionary<uint, ComponentChange> componentChanges)

Parameters

componentChanges IDictionary<uint, ComponentChange>

Returns

EntityData

New(IReadOnlyList<ICoherenceComponentData>, IReadOnlyList<uint>)

public static EntityData New(IReadOnlyList<ICoherenceComponentData> data, IReadOnlyList<uint> mask)

Parameters

data IReadOnlyList<ICoherenceComponentData>
mask IReadOnlyList<uint>

Returns

EntityData

New(int)

public static EntityData New(int capacity)

Parameters

capacity int

Returns

EntityData

Remove(uint)

public void Remove(uint t)

Parameters

t uint

Reset()

public void Reset()

ToString()

public override string ToString()

Returns

string

Update(ComponentChange)

public void Update(ComponentChange change)

Parameters

change ComponentChange

Update(EntityData)

public void Update(EntityData data)

Parameters

data EntityData