Свойство | Тип | Описание | |
---|---|---|---|
isDefaultKM | bool |
Метод | Описание | |
---|---|---|
Awake ( ) : void | ||
ClearGestures ( Int64 UserId ) : void |
Deletes all gestures for the specified user.
|
|
ClearKinectUsers ( ) : void |
Removes all currently detected users, allowing new user-detection process to start.
|
|
DeleteGesture ( Int64 UserId, |
Deletes the gesture for the specified user.
|
|
DetectGesture ( Int64 UserId, |
Adds a gesture to the list of detected gestures for the specified user.
|
|
EnablePlayMode ( bool bEnabled ) : void |
Enables or displables the play mode.
|
|
GetBodyCount ( ) : int |
Gets the number of bodies, tracked by the sensor.
|
|
GetBodyFrameData ( long &liRelTime, float &fUnityTime ) : string |
Gets the body frame as one csv line, or returns empty string if there is no new body frame.
|
|
GetBodyFrameTimestamp ( ) : long |
Gets the last body frame timestamp.
|
|
GetBodyIndexByUserId ( Int64 userId ) : int |
Gets the body index by the specified user ID, or -1 if the user ID does not exist.
|
|
GetColorImageHeight ( ) : int |
Gets the height of the color image, returned by the sensor.
|
|
GetColorImageWidth ( ) : int |
Gets the width of the color image, returned by the sensor.
|
|
GetDepthForPixel ( int x, int y ) : ushort |
Gets the depth value for the specified pixel, if ComputeUserMap is true.
|
|
GetDepthImageHeight ( ) : int |
Gets the height of the depth image, returned by the sensor.
|
|
GetDepthImageWidth ( ) : int |
Gets the width of the depth image, returned by the sensor.
|
|
GetDirectionBetweenJoints ( Int64 userId, int firstJoint, int secondJoint, bool flipX, bool flipZ ) : |
Gets the direction between the given joints of the specified user.
|
|
GetDisplayedBodyIndex ( ) : int |
Gets the body index [0-5], if there is single body selected to be displayed on the user map, or -1 if all bodies are displayed.
|
|
GetGestureAtIndex ( Int64 UserId, int i ) : KinectGestures.Gestures |
Gets the gesture at the specified index for the given user.
|
|
GetGestureProgress ( Int64 UserId, |
Gets the progress (in range [0, 1]) of the given gesture for the specified user.
|
|
GetGestureScreenPos ( Int64 UserId, |
Gets the normalized screen position of the given gesture for the specified user.
|
|
GetGesturesCount ( Int64 UserId ) : int |
Gets the gestures count for the specified user.
|
|
GetGesturesList ( Int64 UserId ) : List |
Gets the list of gestures for the specified user.
|
|
GetJointCount ( ) : int |
Gets the the number of body joints, tracked by the sensor.
|
|
GetJointDirection ( Int64 userId, int joint, bool flipX, bool flipZ ) : |
Gets the joint direction of the specified user, relative to its parent joint.
|
|
GetJointIndex ( |
Gets the index of the joint in the joint's array
|
|
GetJointKinectPosition ( Int64 userId, int joint ) : |
Gets the joint position of the specified user, in Kinect coordinate system, in meters.
|
|
GetJointOrientation ( Int64 userId, int joint, bool flip ) : |
Gets the joint orientation of the specified user.
|
|
GetJointPosColorOverlay ( Int64 userId, int joint, |
Gets the 3d overlay position of the given joint over the color-image.
|
|
GetJointPosDepthOverlay ( Int64 userId, int joint, |
Gets the 3d overlay position of the given joint over the depth-image.
|
|
GetJointPosition ( Int64 userId, int joint ) : |
Gets the joint position of the specified user, in meters.
|
|
GetJointTrackingState ( Int64 userId, int joint ) : KinectInterop.TrackingState |
Gets the tracking state of the joint.
|
|
GetLeftHandInteractionBox ( Int64 userId, |
Gets the left hand interaction box for the specified user.
|
|
GetLeftHandState ( Int64 userId ) : KinectInterop.HandState |
Gets the left hand state for the specified user.
|
|
GetParentJoint ( |
Gets the parent joint of the given joint.
|
|
GetPrimaryUserID ( ) : Int64 |
Gets the UserID of the primary user (the first or the closest one), or 0 if no user is detected.
|
|
GetRawBodyIndexMap ( ) : byte[] |
Gets the raw body index data, if ComputeUserMap is true.
|
|
GetRawDepthMap ( ) : ushort[] |
Gets the raw depth data, if ComputeUserMap is true.
|
|
GetRawInfraredMap ( ) : ushort[] |
Gets the raw infrared data, if ComputeInfraredMap is true.
|
|
GetRightHandInteractionBox ( Int64 userId, |
Gets the right hand interaction box for the specified user.
|
|
GetRightHandState ( Int64 userId ) : KinectInterop.HandState |
Gets the right hand state for the specified user.
|
|
GetSensorPlatform ( ) : KinectInterop.DepthSensorPlatform |
Gets the selected depth-sensor platform.
|
|
GetTrackedBodyIndices ( ) : List |
Gets the list of tracked body indices.
|
|
GetUserIdByIndex ( int i ) : Int64 |
Gets the user ID by the specified user index.
|
|
GetUserIndexById ( Int64 userId ) : int |
Gets the user index by the specified user ID.
|
|
GetUserOrientation ( Int64 userId, bool flip ) : |
Gets the user orientation.
|
|
GetUserPosition ( Int64 userId ) : |
Gets the user position, relative to the sensor, in meters.
|
|
GetUsersClrTex ( ) : |
Gets the color image texture,if ComputeColorMap is true
|
|
GetUsersCount ( ) : int |
Gets the number of currently detected users.
|
|
GetUsersLblTex ( ) : |
Gets the users' histogram texture, if ComputeUserMap is true
|
|
IsGestureCancelled ( Int64 UserId, |
Determines whether the given gesture for the specified user is canceled.
|
|
IsGestureComplete ( Int64 UserId, |
Determines whether the given gesture for the specified user is complete.
|
|
IsInitialized ( ) : bool |
Determines if the sensor and KinectManager-component are initialized and ready to use.
|
|
IsJointTracked ( Int64 userId, int joint ) : bool |
Determines whether the given joint of the specified user is being tracked.
|
|
IsKinectInitialized ( ) : bool |
Determines if the sensor and KinectManager-component are initialized and ready to use.
|
|
IsLeftHandConfidenceHigh ( Int64 userId ) : bool |
Determines whether the left hand confidence is high for the specified user.
|
|
IsPlayModeEnabled ( ) : bool |
Determines whether the play mode is enabled or not.
|
|
IsRightHandConfidenceHigh ( Int64 userId ) : bool |
Determines whether the right hand confidence is high for the specified user.
|
|
IsTrackedUsersLimited ( ) : bool |
Determines whether the tracked users are limited by their number or distance or not.
|
|
IsTrackingGesture ( Int64 UserId, |
Determines whether the given gesture is in the list of gestures for the specified user.
|
|
IsUserDetected ( ) : bool |
Determines whether at least one user is currently detected by the sensor
|
|
IsUserTracked ( Int64 userId ) : bool |
Determines whether the user with the specified userId is in the list of tracked users or not.
|
|
IsUserTurnedAround ( Int64 userId ) : bool |
Determines whether the given user is turned around or not.
|
|
LateUpdate ( ) : void | ||
MapColorFrameToDepthCoords ( |
Maps the color frame to depth coordinates.
|
|
MapDepthFrameToColorCoords ( |
Maps the depth frame to color coordinates.
|
|
MapDepthPointToColorCoords ( |
Returns the color-map coordinates of a depth point.
|
|
MapDepthPointToSpaceCoords ( |
Returns the space coordinates of a depth-map point, or Vector3.zero if the sensor is not initialized
|
|
MapSpacePointToDepthCoords ( |
Returns the depth-map coordinates of a space point, or Vector2.zero if Kinect is not initialized
|
|
OnDestroy ( ) : void | ||
OnGUI ( ) : void | ||
ResetFilters ( ) : void |
Resets the Kinect data filters.
|
|
ResetGesture ( Int64 UserId, |
Resets the gesture state for the given gesture of the specified user.
|
|
ResetPlayerGestures ( Int64 UserId ) : void |
Resets the gesture states for all gestures of the specified user.
|
|
SetBodyFrameData ( string sLine ) : bool |
Sets the body frame from the given csv line.
|
|
SetDisplayedBodyIndex ( int iBodyIndex ) : bool |
Sets the body index [0-5], if a single body must be displayed on the user map, or -1 if all bodies must be displayed.
|
|
SetPrimaryUserID ( Int64 userId ) : bool |
Sets the primary user ID, in order to change the active user.
|
|
StartKinect ( ) : void | ||
Update ( ) : void | ||
UpdateColorMap ( ) : void | ||
UpdateInfraredMap ( ) : void | ||
UpdateUserHistogramImage ( ) : void | ||
UpdateUserMap ( ) : void |
Метод | Описание | |
---|---|---|
CalculateJointOrients ( |
||
CalibrateUser ( Int64 userId, int bodyIndex ) : void | ||
CheckForCalibrationPose ( Int64 UserId, int bodyIndex, |
||
CheckForGestures ( Int64 UserId ) : void | ||
DrawSkeleton ( |
||
GetGestureIndex ( |
||
GetSensorData ( ) : |
Gets the sensor data structure (this structure should not be modified and must be used only internally).
|
|
GetUserBodyData ( Int64 userId ) : |
Gets the user body data (for internal purposes only).
|
|
IsConflictingGestureInProgress ( |
||
ProcessBodyFrameData ( ) : void | ||
ProcessBodySpecialData ( |
||
RemoveUser ( Int64 userId ) : void | ||
SwitchJointsData ( |
public ClearGestures ( Int64 UserId ) : void | ||
UserId | Int64 | User ID |
Результат | void |
public DeleteGesture ( Int64 UserId, |
||
UserId | Int64 | User ID |
gesture | Gesture type | |
Результат | bool |
public DetectGesture ( Int64 UserId, |
||
UserId | Int64 | User ID |
gesture | Gesture type | |
Результат | void |
public EnablePlayMode ( bool bEnabled ) : void | ||
bEnabled | bool | If set to |
Результат | void |
public GetBodyFrameData ( long &liRelTime, float &fUnityTime ) : string | ||
liRelTime | long | Reference to variable, used to compare frame times. |
fUnityTime | float | Reference to variable, used to save the current Unity time. |
Результат | string |
public GetBodyIndexByUserId ( Int64 userId ) : int | ||
userId | Int64 | User ID |
Результат | int |
public GetDepthForPixel ( int x, int y ) : ushort | ||
x | int | The X coordinate of the pixel. |
y | int | The Y coordinate of the pixel. |
Результат | ushort |
public GetDirectionBetweenJoints ( Int64 userId, int firstJoint, int secondJoint, bool flipX, bool flipZ ) : |
||
userId | Int64 | User ID |
firstJoint | int | First joint index |
secondJoint | int | Second joint index |
flipX | bool | If set to |
flipZ | bool | If set to |
Результат |
public GetGestureAtIndex ( Int64 UserId, int i ) : KinectGestures.Gestures | ||
UserId | Int64 | User ID |
i | int | Index |
Результат | KinectGestures.Gestures |
public GetGestureProgress ( Int64 UserId, |
||
UserId | Int64 | User ID |
gesture | Gesture type | |
Результат | float |
public GetGestureScreenPos ( Int64 UserId, |
||
UserId | Int64 | User ID |
gesture | Gesture type | |
Результат |
public GetGesturesCount ( Int64 UserId ) : int | ||
UserId | Int64 | User ID |
Результат | int |
public GetGesturesList ( Int64 UserId ) : List |
||
UserId | Int64 | User ID |
Результат | List |
public GetJointDirection ( Int64 userId, int joint, bool flipX, bool flipZ ) : |
||
userId | Int64 | User ID |
joint | int | Joint index |
flipX | bool | If set to |
flipZ | bool | If set to |
Результат |
public GetJointIndex ( |
||
joint | Joint. | |
Результат | int |
public GetJointKinectPosition ( Int64 userId, int joint ) : |
||
userId | Int64 | User ID |
joint | int | Joint index |
Результат |
public GetJointOrientation ( Int64 userId, int joint, bool flip ) : |
||
userId | Int64 | User ID |
joint | int | Joint index |
flip | bool | If set to |
Результат |
public GetJointPosColorOverlay ( Int64 userId, int joint, |
||
userId | Int64 | User ID |
joint | int | Joint index |
camera | Camera used to visualize the 3d overlay position | |
imageRect | Color image rectangle on the screen | |
Результат |
public GetJointPosDepthOverlay ( Int64 userId, int joint, |
||
userId | Int64 | User ID |
joint | int | Joint index |
camera | Camera used to visualize the 3d overlay position | |
imageRect | Depth image rectangle on the screen | |
Результат |
public GetJointPosition ( Int64 userId, int joint ) : |
||
userId | Int64 | User ID |
joint | int | Joint index |
Результат |
public GetJointTrackingState ( Int64 userId, int joint ) : KinectInterop.TrackingState | ||
userId | Int64 | User ID |
joint | int | Joint index |
Результат | KinectInterop.TrackingState |
public GetLeftHandInteractionBox ( Int64 userId, |
||
userId | Int64 | User ID |
leftBotBack | Vector containing the left, bottom and back coordinates, in meters | |
rightTopFront | Vector containing the right, top and front coordinates, in meters | |
bValidBox | bool | If set to |
Результат | bool |
public GetLeftHandState ( Int64 userId ) : KinectInterop.HandState | ||
userId | Int64 | User ID |
Результат | KinectInterop.HandState |
public GetParentJoint ( |
||
joint | Joint. | |
Результат | KinectInterop.JointType |
public GetRightHandInteractionBox ( Int64 userId, |
||
userId | Int64 | User ID |
leftBotBack | Vector containing the left, bottom and back coordinates, in meters | |
rightTopFront | ector containing the right, top and front coordinates, in meters | |
bValidBox | bool | If set to |
Результат | bool |
public GetRightHandState ( Int64 userId ) : KinectInterop.HandState | ||
userId | Int64 | User ID |
Результат | KinectInterop.HandState |
public GetSensorPlatform ( ) : KinectInterop.DepthSensorPlatform | ||
Результат | KinectInterop.DepthSensorPlatform |
public GetUserIdByIndex ( int i ) : Int64 | ||
i | int | The user index. |
Результат | Int64 |
public GetUserIndexById ( Int64 userId ) : int | ||
userId | Int64 | User ID |
Результат | int |
public GetUserOrientation ( Int64 userId, bool flip ) : |
||
userId | Int64 | User ID |
flip | bool | If set to |
Результат |
public GetUserPosition ( Int64 userId ) : |
||
userId | Int64 | User ID |
Результат |
public GetUsersClrTex ( ) : |
||
Результат |
public GetUsersLblTex ( ) : |
||
Результат |
public IsGestureCancelled ( Int64 UserId, |
||
UserId | Int64 | User ID |
gesture | Gesture type | |
Результат | bool |
public IsGestureComplete ( Int64 UserId, |
||
UserId | Int64 | User ID |
gesture | Gesture type | |
bResetOnComplete | bool | If set to |
Результат | bool |
public IsJointTracked ( Int64 userId, int joint ) : bool | ||
userId | Int64 | User ID |
joint | int | Joint index |
Результат | bool |
public static IsKinectInitialized ( ) : bool | ||
Результат | bool |
public IsLeftHandConfidenceHigh ( Int64 userId ) : bool | ||
userId | Int64 | User ID |
Результат | bool |
public IsRightHandConfidenceHigh ( Int64 userId ) : bool | ||
userId | Int64 | User ID |
Результат | bool |
public IsTrackingGesture ( Int64 UserId, |
||
UserId | Int64 | User ID |
gesture | Gesture type | |
Результат | bool |
public IsUserTracked ( Int64 userId ) : bool | ||
userId | Int64 | User identifier. |
Результат | bool |
public IsUserTurnedAround ( Int64 userId ) : bool | ||
userId | Int64 | User ID |
Результат | bool |
public MapColorFrameToDepthCoords ( |
||
avDepthCoords | Buffer for color-to-depth coordinates. | |
Результат | bool |
public MapDepthFrameToColorCoords ( |
||
avColorCoords | Buffer for depth-to-color coordinates. | |
Результат | bool |
public MapDepthPointToColorCoords ( |
||
posPoint | Depth point coordinates | |
depthValue | ushort | Depth value |
Результат |
public MapDepthPointToSpaceCoords ( |
||
posPoint | Depth point coordinates | |
depthValue | ushort | Depth value |
bWorldCoords | bool | If set to |
Результат |
public MapSpacePointToDepthCoords ( |
||
posPoint | Space point coordinates | |
Результат |
public ResetGesture ( Int64 UserId, |
||
UserId | Int64 | User ID |
gesture | Gesture type | |
Результат | bool |
public ResetPlayerGestures ( Int64 UserId ) : void | ||
UserId | Int64 | User ID |
Результат | void |
public SetBodyFrameData ( string sLine ) : bool | ||
sLine | string | The body frame as csv line. |
Результат | bool |
public SetDisplayedBodyIndex ( int iBodyIndex ) : bool | ||
iBodyIndex | int | The single body index, or -1 if all bodies must be displayed. |
Результат | bool |
public SetPrimaryUserID ( Int64 userId ) : bool | ||
userId | Int64 | User ID |
Результат | bool |
public UpdateUserHistogramImage ( ) : void | ||
Результат | void |