C# Class AbstractInputModule, ThreeDWorld

Mostrar archivo Open project: dicarlolab/ThreeDWorld Class Usage Examples

Protected Properties

Property Type Description
_myAvatar Avatar

Public Methods

Method Description
AbstractInputModule ( Avatar myAvatar ) : System.Collections
HandleNetInput ( JsonData msgJsonData, Vector3 &targetVel ) : void
OnFixedUpdate ( ) : void
SimulateInputFromController ( JsonData &responseMsgData ) : void

Protected Methods

Method Description
EncodeDouble01 ( double val, NetMQMessage msg ) : void
EncodeFloat01 ( float val, NetMQMessage msg ) : void
EncodeVector01 ( Vector3 val, NetMQMessage msg ) : void
ReadDouble01 ( NetMQMessage msg, int &curIndex ) : double
ReadFloat01 ( NetMQMessage msg, int &curIndex ) : float
ReadVector01 ( NetMQMessage msg, int &curIndex ) : Vector3

Method Details

AbstractInputModule() public method

public AbstractInputModule ( Avatar myAvatar ) : System.Collections
myAvatar Avatar
return System.Collections

EncodeDouble01() protected static method

protected static EncodeDouble01 ( double val, NetMQMessage msg ) : void
val double
msg NetMQMessage
return void

EncodeFloat01() protected static method

protected static EncodeFloat01 ( float val, NetMQMessage msg ) : void
val float
msg NetMQMessage
return void

EncodeVector01() protected static method

protected static EncodeVector01 ( Vector3 val, NetMQMessage msg ) : void
val Vector3
msg NetMQMessage
return void

HandleNetInput() public abstract method

public abstract HandleNetInput ( JsonData msgJsonData, Vector3 &targetVel ) : void
msgJsonData JsonData
targetVel Vector3
return void

OnFixedUpdate() public abstract method

public abstract OnFixedUpdate ( ) : void
return void

ReadDouble01() protected static method

protected static ReadDouble01 ( NetMQMessage msg, int &curIndex ) : double
msg NetMQMessage
curIndex int
return double

ReadFloat01() protected static method

protected static ReadFloat01 ( NetMQMessage msg, int &curIndex ) : float
msg NetMQMessage
curIndex int
return float

ReadVector01() protected static method

protected static ReadVector01 ( NetMQMessage msg, int &curIndex ) : Vector3
msg NetMQMessage
curIndex int
return Vector3

SimulateInputFromController() public abstract method

public abstract SimulateInputFromController ( JsonData &responseMsgData ) : void
responseMsgData JsonData
return void

Property Details

_myAvatar protected_oe property

protected Avatar _myAvatar
return Avatar