Struct Vector3Input
- Namespace
- Coherence.Generated
- Assembly
- Coherence.Common.Tests.dll
public struct Vector3Input : IEntityInput, IEntityMessage
- Implements
-
Constructors
public Vector3Input(Entity entity, long frame, Vector3 vector3Field, bool isRemoteInput)
Parameters
entity
Entity
frame
long
vector3Field
Vector3
isRemoteInput
bool
Fields
public Vector3 vector3Field
Field Value
- Vector3
Properties
public Entity Entity { readonly get; set; }
Property Value
- Entity
public long Frame { readonly get; set; }
Property Value
- long
public MessageTarget Routing { readonly get; set; }
Property Value
- MessageTarget
public uint Sender { readonly get; set; }
Property Value
- uint
Methods
public IEntityMessage Clone()
Returns
- IEntityMessage
public static Vector3Input Deserialize(IInProtocolBitStream bitStream, Entity entity, long frame)
Parameters
bitStream
IInProtocolBitStream
entity
Entity
frame
long
Returns
- Vector3Input
public bool Equals(Vector3Input other)
Parameters
other
Vector3Input
Returns
- bool
public static Vector3Input FromInterop(IntPtr data, int dataSize)
Parameters
data
IntPtr
dataSize
int
Returns
- Vector3Input
public uint GetComponentType()
Returns
- uint
public HashSet<Entity> GetEntityRefs()
Returns
- HashSet<Entity>
public IEntityMapper.Error MapToAbsolute(IEntityMapper mapper, Logger logger)
Parameters
mapper
IEntityMapper
logger
Logger
Returns
- IEntityMapper.Error
public IEntityMapper.Error MapToRelative(IEntityMapper mapper, Logger logger)
Parameters
mapper
IEntityMapper
logger
Logger
Returns
- IEntityMapper.Error
public void NullEntityRefs(Entity entity)
Parameters
entity
Entity
public static void Serialize(Vector3Input inputData, IOutProtocolBitStream bitStream)
Parameters
inputData
Vector3Input
bitStream
IOutProtocolBitStream
public override string ToString()
Returns
- string