Property | Type | Description | |
---|---|---|---|
displayDepthImage | bool | ||
displayJointInformation | bool | ||
displayTextureImage | bool | ||
scaleFactor | int | ||
twoPlayer | bool | ||
useDepth | bool | ||
useRGB | bool |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 |
return | Vector3 |
public GetJointPos ( int player, KinectWrapper, joint ) : Vector3 | ||
player | int | player number (1,2) |
joint | KinectWrapper, | KinectWrapper.Joints enum |
return | Vector3 |
public SetCameraAngle ( int angle ) : bool | ||
angle | int | range: -27 -> 27 |
return | bool |