Table of Contents

Struct QuaternionInput

Namespace
Coherence.Generated
Assembly
Coherence.Common.Tests.dll
public struct QuaternionInput : IEntityInput, IEntityMessage
Implements

Constructors

QuaternionInput(Entity, long, Quaternion, bool)

public QuaternionInput(Entity entity, long frame, Quaternion quaternionField, bool isRemoteInput)

Parameters

entity Entity
frame long
quaternionField Quaternion
isRemoteInput bool

Fields

quaternionField

public Quaternion quaternionField

Field Value

Quaternion

Properties

Entity

public Entity Entity { readonly get; set; }

Property Value

Entity

Frame

public long Frame { readonly get; set; }

Property Value

long

Routing

public MessageTarget Routing { readonly get; set; }

Property Value

MessageTarget

Sender

public uint Sender { readonly get; set; }

Property Value

uint

Methods

Clone()

public IEntityMessage Clone()

Returns

IEntityMessage

Deserialize(IInProtocolBitStream, Entity, long)

public static QuaternionInput Deserialize(IInProtocolBitStream bitStream, Entity entity, long frame)

Parameters

bitStream IInProtocolBitStream
entity Entity
frame long

Returns

QuaternionInput

Equals(QuaternionInput)

public bool Equals(QuaternionInput other)

Parameters

other QuaternionInput

Returns

bool

FromInterop(IntPtr, int)

public static QuaternionInput FromInterop(IntPtr data, int dataSize)

Parameters

data IntPtr
dataSize int

Returns

QuaternionInput

GetComponentType()

public uint GetComponentType()

Returns

uint

GetEntityRefs()

public HashSet<Entity> GetEntityRefs()

Returns

HashSet<Entity>

MapToAbsolute(IEntityMapper, Logger)

public IEntityMapper.Error MapToAbsolute(IEntityMapper mapper, Logger logger)

Parameters

mapper IEntityMapper
logger Logger

Returns

IEntityMapper.Error

MapToRelative(IEntityMapper, Logger)

public IEntityMapper.Error MapToRelative(IEntityMapper mapper, Logger logger)

Parameters

mapper IEntityMapper
logger Logger

Returns

IEntityMapper.Error

NullEntityRefs(Entity)

public void NullEntityRefs(Entity entity)

Parameters

entity Entity

Serialize(QuaternionInput, IOutProtocolBitStream)

public static void Serialize(QuaternionInput inputData, IOutProtocolBitStream bitStream)

Parameters

inputData QuaternionInput
bitStream IOutProtocolBitStream

ToString()

public override string ToString()

Returns

string