Interface IComponentInteropHandler
public interface IComponentInteropHandler
Methods
GetCommand(uint, IntPtr, int)
IEntityCommand GetCommand(uint type, IntPtr data, int dataSize)
Parameters
Returns
GetComponent(uint, IntPtr, int, InteropAbsoluteSimulationFrame*, int)
ICoherenceComponentData GetComponent(uint type, IntPtr data, int dataSize, InteropAbsoluteSimulationFrame* simFrames, int simFramesCount)
Parameters
typeuintdataIntPtrdataSizeintsimFramesInteropAbsoluteSimulationFrame*simFramesCountint
Returns
GetInput(uint, IntPtr, int)
IEntityInput GetInput(uint type, IntPtr data, int dataSize)
Parameters
Returns
SendCommand(CoherenceCore, InteropEntity, MessageTarget, IEntityCommand)
bool SendCommand(CoherenceCore core, InteropEntity entity, MessageTarget target, IEntityCommand command)
Parameters
coreCoherenceCoreentityInteropEntitytargetMessageTargetcommandIEntityCommand
Returns
SendInput(CoherenceCore, InteropEntity, long, IEntityInput)
void SendInput(CoherenceCore core, InteropEntity entity, long frame, IEntityInput input)
Parameters
coreCoherenceCoreentityInteropEntityframelonginputIEntityInput
UpdateComponent(CoherenceCore, InteropEntity, ICoherenceComponentData)
void UpdateComponent(CoherenceCore core, InteropEntity entity, ICoherenceComponentData component)
Parameters
coreCoherenceCoreentityInteropEntitycomponentICoherenceComponentData