Table of Contents

Struct GenericFieldVector0

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

Fields

order

public const int order = 0

Field Value

int

value

public Vector3 value

Field Value

Vector3

valueSimulationFrame

public AbsoluteSimulationFrame valueSimulationFrame

Field Value

AbsoluteSimulationFrame

Properties

FieldsMask

public uint FieldsMask { readonly get; set; }

Property Value

uint

StoppedMask

public uint StoppedMask { readonly get; set; }

Property Value

uint

valueMask

public static uint valueMask { get; }

Property Value

uint

Methods

Clone()

public ICoherenceComponentData Clone()

Returns

ICoherenceComponentData

Deserialize(AbsoluteSimulationFrame, InProtocolBitStream)

public static GenericFieldVector0 Deserialize(AbsoluteSimulationFrame referenceSimulationFrame, InProtocolBitStream bitStream)

Parameters

referenceSimulationFrame AbsoluteSimulationFrame
bitStream InProtocolBitStream

Returns

GenericFieldVector0

DiffWith(ICoherenceComponentData)

public uint DiffWith(ICoherenceComponentData data)

Parameters

data ICoherenceComponentData

Returns

uint

FromInterop(IntPtr, int, InteropAbsoluteSimulationFrame*, int)

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

Parameters

data IntPtr
dataSize int
simFrames InteropAbsoluteSimulationFrame*
simFramesCount int

Returns

GenericFieldVector0

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

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

Parameters

data GenericFieldVector0
isRefSimFrameValid bool
referenceSimulationFrame AbsoluteSimulationFrame
bitStream IOutProtocolBitStream
logger Logger

Returns

uint

ToString()

public override string ToString()

Returns

string