Table of Contents

Struct SimFramesComponent

Namespace
Coherence.Generated
Assembly
Coherence.Common.Tests.dll
public struct SimFramesComponent : ICoherenceComponentData
Implements

Fields

floatValue

public float floatValue

Field Value

float

floatValueSimulationFrame

public AbsoluteSimulationFrame floatValueSimulationFrame

Field Value

AbsoluteSimulationFrame

order

public const int order = 0

Field Value

int

simFrameFloatValue

public float simFrameFloatValue

Field Value

float

simFrameFloatValueSimulationFrame

public AbsoluteSimulationFrame simFrameFloatValueSimulationFrame

Field Value

AbsoluteSimulationFrame

simFrameIntValue

public int simFrameIntValue

Field Value

int

simFrameIntValueSimulationFrame

public AbsoluteSimulationFrame simFrameIntValueSimulationFrame

Field Value

AbsoluteSimulationFrame

Properties

FieldsMask

public uint FieldsMask { readonly get; set; }

Property Value

uint

StoppedMask

public uint StoppedMask { readonly get; set; }

Property Value

uint

floatValueMask

public static uint floatValueMask { get; }

Property Value

uint

simFrameFloatValueMask

public static uint simFrameFloatValueMask { get; }

Property Value

uint

simFrameIntValueMask

public static uint simFrameIntValueMask { get; }

Property Value

uint

Methods

Clone()

public ICoherenceComponentData Clone()

Returns

ICoherenceComponentData

Deserialize(AbsoluteSimulationFrame, InProtocolBitStream)

public static SimFramesComponent Deserialize(AbsoluteSimulationFrame referenceSimulationFrame, InProtocolBitStream bitStream)

Parameters

referenceSimulationFrame AbsoluteSimulationFrame
bitStream InProtocolBitStream

Returns

SimFramesComponent

DiffWith(ICoherenceComponentData)

public uint DiffWith(ICoherenceComponentData data)

Parameters

data ICoherenceComponentData

Returns

uint

FromInterop(IntPtr, int, InteropAbsoluteSimulationFrame*, int)

public static SimFramesComponent FromInterop(IntPtr data, int dataSize, InteropAbsoluteSimulationFrame* simFrames, int simFramesCount)

Parameters

data IntPtr
dataSize int
simFrames InteropAbsoluteSimulationFrame*
simFramesCount int

Returns

SimFramesComponent

GetComponentOrder()

public int GetComponentOrder()

Returns

int

GetComponentType()

public uint GetComponentType()

Returns

uint

GetEntityRefs()

public HashSet<Entity> GetEntityRefs()

Returns

HashSet<Entity>

GetFieldCount()

public int GetFieldCount()

Returns

int

GetMinSimulationFrame()

public AbsoluteSimulationFrame? GetMinSimulationFrame()

Returns

AbsoluteSimulationFrame?

GetSimulationFrames()

public long[] GetSimulationFrames()

Returns

long[]

HasFields()

public bool HasFields()

Returns

bool

HasRefFields()

public bool HasRefFields()

Returns

bool

InitialFieldsMask()

public uint InitialFieldsMask()

Returns

uint

IsSendOrdered()

public bool IsSendOrdered()

Returns

bool

MapToAbsolute(IEntityMapper)

public IEntityMapper.Error MapToAbsolute(IEntityMapper mapper)

Parameters

mapper IEntityMapper

Returns

IEntityMapper.Error

MapToRelative(IEntityMapper)

public IEntityMapper.Error MapToRelative(IEntityMapper mapper)

Parameters

mapper IEntityMapper

Returns

IEntityMapper.Error

MergeWith(ICoherenceComponentData)

public ICoherenceComponentData MergeWith(ICoherenceComponentData data)

Parameters

data ICoherenceComponentData

Returns

ICoherenceComponentData

PriorityLevel()

public int PriorityLevel()

Returns

int

ReplaceReferences(Entity, Entity)

Replaces all references to 'fromEntity' with 'toEntity' in this component.

public uint ReplaceReferences(Entity fromEntity, Entity toEntity)

Parameters

fromEntity Entity
toEntity Entity

Returns

uint

The field mask of references that were changed.

Serialize(SimFramesComponent, bool, AbsoluteSimulationFrame, IOutProtocolBitStream, Logger)

public static uint Serialize(SimFramesComponent data, bool isRefSimFrameValid, AbsoluteSimulationFrame referenceSimulationFrame, IOutProtocolBitStream bitStream, Logger logger)

Parameters

data SimFramesComponent
isRefSimFrameValid bool
referenceSimulationFrame AbsoluteSimulationFrame
bitStream IOutProtocolBitStream
logger Logger

Returns

uint

ToString()

public override string ToString()

Returns

string