C# 클래스 AbstractInputModule, ThreeDWorld

파일 보기 프로젝트 열기: dicarlolab/ThreeDWorld 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_myAvatar Avatar

공개 메소드들

메소드 설명
AbstractInputModule ( Avatar myAvatar ) : System.Collections
HandleNetInput ( JsonData msgJsonData, Vector3 &targetVel ) : void
OnFixedUpdate ( ) : void
SimulateInputFromController ( JsonData &responseMsgData ) : void

보호된 메소드들

메소드 설명
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

메소드 상세

AbstractInputModule() 공개 메소드

public AbstractInputModule ( Avatar myAvatar ) : System.Collections
myAvatar Avatar
리턴 System.Collections

EncodeDouble01() 보호된 정적인 메소드

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

EncodeFloat01() 보호된 정적인 메소드

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

EncodeVector01() 보호된 정적인 메소드

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

HandleNetInput() 공개 추상적인 메소드

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

OnFixedUpdate() 공개 추상적인 메소드

public abstract OnFixedUpdate ( ) : void
리턴 void

ReadDouble01() 보호된 정적인 메소드

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

ReadFloat01() 보호된 정적인 메소드

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

ReadVector01() 보호된 정적인 메소드

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

SimulateInputFromController() 공개 추상적인 메소드

public abstract SimulateInputFromController ( JsonData &responseMsgData ) : void
responseMsgData JsonData
리턴 void

프로퍼티 상세

_myAvatar 보호되어 있는 프로퍼티

protected Avatar _myAvatar
리턴 Avatar