Свойство | Тип | Описание | |
---|---|---|---|
displayDepthImage | bool | ||
displayJointInformation | bool | ||
displayTextureImage | bool | ||
scaleFactor | int | ||
twoPlayer | bool | ||
useDepth | bool | ||
useRGB | bool |
Метод | Описание | |
---|---|---|
GetCameraAngle ( ) : float |
returns current Kinect camera angle from horizontal
|
|
GetDepthData ( ) : short[][] |
gets depth data from Kinect depth camera depth[x=0][y=0] corresponds to top-left corner of image |
|
GetJointPos ( KinectWrapper, joint ) : Vector3 |
one-player overload of joint position get function
|
|
GetJointPos ( int player, KinectWrapper, joint ) : Vector3 |
main joint position get function
|
|
GetTextureImage ( ) : |
gets color texture image from Kinect RGB camera
|
|
SetCameraAngle ( int angle ) : bool |
sets Kinect camera angle do not change angle more than once every 30 sec |
Метод | Описание | |
---|---|---|
DisplayPlayerData ( int player, int place ) : void | ||
OnApplicationQuit ( ) : void | ||
OnGUI ( ) : void | ||
Start ( ) : void | ||
Update ( ) : void | ||
UpdateDepth ( ) : void | ||
UpdateTextureImage ( ) : void |
public GetJointPos ( KinectWrapper, joint ) : Vector3 | ||
joint | KinectWrapper, | KinectWrapper.Joints enum |
Результат | Vector3 |
public GetJointPos ( int player, KinectWrapper, joint ) : Vector3 | ||
player | int | player number (1,2) |
joint | KinectWrapper, | KinectWrapper.Joints enum |
Результат | Vector3 |
public GetTextureImage ( ) : |
||
Результат |
public SetCameraAngle ( int angle ) : bool | ||
angle | int | range: -27 -> 27 |
Результат | bool |