Struct FloatComponent
- Namespace
- Coherence.Generated
- Assembly
- Coherence.Common.Tests.dll
public struct FloatComponent : ICoherenceComponentData
- Implements
-
Fields
Frame
public AbsoluteSimulationFrame Frame
Field Value
- AbsoluteSimulationFrame
number
Field Value
- float
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(InProtocolBitStream)
public static (FloatComponent, uint) Deserialize(InProtocolBitStream bitStream)
Parameters
bitStream
InProtocolBitStream
Returns
- (FloatComponent, uint)
DiffWith(ICoherenceComponentData)
public uint DiffWith(ICoherenceComponentData data)
Parameters
data
ICoherenceComponentData
Returns
- uint
GetComponentOrder()
public int GetComponentOrder()
Returns
- int
GetComponentType()
public uint GetComponentType()
Returns
- uint
GetEntityRefs()
public HashSet<Entity> GetEntityRefs()
Returns
- HashSet<Entity>
GetSimulationFrame()
public AbsoluteSimulationFrame GetSimulationFrame()
Returns
- AbsoluteSimulationFrame
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, uint)
public ICoherenceComponentData MergeWith(ICoherenceComponentData data, uint mask)
Parameters
data
ICoherenceComponentData
mask
uint
Returns
- ICoherenceComponentData
PriorityLevel()
public int PriorityLevel()
Returns
- int
ResetByteArrays(ICoherenceComponentData, uint)
public void ResetByteArrays(ICoherenceComponentData lastSent, uint mask)
Parameters
lastSent
ICoherenceComponentData
mask
uint
Serialize(FloatComponent, uint, IOutProtocolBitStream, Logger)
public static uint Serialize(FloatComponent data, uint mask, IOutProtocolBitStream bitStream, Logger logger)
Parameters
data
FloatComponent
mask
uint
bitStream
IOutProtocolBitStream
logger
Logger
Returns
- uint
SetSimulationFrame(AbsoluteSimulationFrame)
public void SetSimulationFrame(AbsoluteSimulationFrame frame)
Parameters
frame
AbsoluteSimulationFrame
ToString()
public override string ToString()
Returns
- string