Class ComponentInteropHandler
public class ComponentInteropHandler : IComponentInteropHandler
- Inheritance
-
ComponentInteropHandler
- Implements
Constructors
ComponentInteropHandler()
public ComponentInteropHandler()
Methods
GetCommand(uint, IntPtr, int)
public IEntityCommand GetCommand(uint type, IntPtr data, int dataSize)
Parameters
Returns
GetComponent(uint, IntPtr, int, InteropAbsoluteSimulationFrame*, int)
public ICoherenceComponentData GetComponent(uint type, IntPtr data, int dataSize, InteropAbsoluteSimulationFrame* simFrames, int simFramesCount)
Parameters
type
uintdata
IntPtrdataSize
intsimFrames
InteropAbsoluteSimulationFrame*simFramesCount
int
Returns
GetInput(uint, IntPtr, int)
public IEntityInput GetInput(uint type, IntPtr data, int dataSize)
Parameters
Returns
SendCommand(CoherenceCore, InteropEntity, MessageTarget, IEntityCommand)
public bool SendCommand(CoherenceCore core, InteropEntity entity, MessageTarget target, IEntityCommand command)
Parameters
core
CoherenceCoreentity
InteropEntitytarget
MessageTargetcommand
IEntityCommand
Returns
SendInput(CoherenceCore, InteropEntity, long, IEntityInput)
public void SendInput(CoherenceCore core, InteropEntity entity, long frame, IEntityInput input)
Parameters
core
CoherenceCoreentity
InteropEntityframe
longinput
IEntityInput
UpdateComponent(CoherenceCore, InteropEntity, ICoherenceComponentData)
public void UpdateComponent(CoherenceCore core, InteropEntity entity, ICoherenceComponentData component)
Parameters
core
CoherenceCoreentity
InteropEntitycomponent
ICoherenceComponentData