Struct WorldPosition
- Namespace
- Coherence.Generated
- Assembly
- Coherence.Common.Tests.dll
public struct WorldPosition : ICoherenceComponentData
- Implements
-
Fields
Frame
public AbsoluteSimulationFrame Frame
Field Value
- AbsoluteSimulationFrame
order
public const int order = 0
Field Value
- int
value
Field Value
- Vector3
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(InProtocolBitStream)
public static (WorldPosition, uint) Deserialize(InProtocolBitStream bitStream)
Parameters
bitStream
InProtocolBitStream
Returns
- (WorldPosition, 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(WorldPosition, uint, IOutProtocolBitStream, Logger)
public static uint Serialize(WorldPosition data, uint mask, IOutProtocolBitStream bitStream, Logger logger)
Parameters
data
WorldPosition
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