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