Table of Contents

Struct GenericFieldFloat2

Namespace
Coherence.Generated
Assembly
Coherence.Interop.Generated.dll
public struct GenericFieldFloat2 : ICoherenceComponentData
Implements

Fields

number

public float number

Field Value

float

numberSimulationFrame

public AbsoluteSimulationFrame numberSimulationFrame

Field Value

AbsoluteSimulationFrame

order

public const int order = 0

Field Value

int

Properties

FieldsMask

public uint FieldsMask { readonly get; set; }

Property Value

uint

StoppedMask

public uint StoppedMask { readonly get; set; }

Property Value

uint

numberMask

public static uint numberMask { get; }

Property Value

uint

Methods

Clone()

public ICoherenceComponentData Clone()

Returns

ICoherenceComponentData

Deserialize(AbsoluteSimulationFrame, InProtocolBitStream)

public static GenericFieldFloat2 Deserialize(AbsoluteSimulationFrame referenceSimulationFrame, InProtocolBitStream bitStream)

Parameters

referenceSimulationFrame AbsoluteSimulationFrame
bitStream InProtocolBitStream

Returns

GenericFieldFloat2

DiffWith(ICoherenceComponentData)

public uint DiffWith(ICoherenceComponentData data)

Parameters

data ICoherenceComponentData

Returns

uint

FromInterop(IntPtr, int, InteropAbsoluteSimulationFrame*, int)

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

Parameters

data IntPtr
dataSize int
simFrames InteropAbsoluteSimulationFrame*
simFramesCount int

Returns

GenericFieldFloat2

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(GenericFieldFloat2, bool, AbsoluteSimulationFrame, IOutProtocolBitStream, Logger)

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

Parameters

data GenericFieldFloat2
isRefSimFrameValid bool
referenceSimulationFrame AbsoluteSimulationFrame
bitStream IOutProtocolBitStream
logger Logger

Returns

uint

ToString()

public override string ToString()

Returns

string