C# Class OpenNI2, Kinect-Unity-Interface

Inheritance: MonoBehaviour
Exibir arquivo Open project: mattsonic/Kinect-Unity-Interface Class Usage Examples

Public Properties

Property Type Description
bias Vector3
depth xn.DepthGenerator
drawSkeleton bool
handPoint Vector3
head Transform
leftHand Transform
rgbMaterial Material
rightHand Transform
scale float

Public Methods

Method Description
Start ( ) : void
Update ( ) : void
createDefaultLineRenderer ( Transform obj ) : void
gestures_GestureRecognized ( ProductionNode node, string strGesture, Point3D &idPosition, Point3D &endPosition ) : void
hands_HandCreate ( ProductionNode node, uint id, Point3D &position, float fTime ) : void
hands_HandDestroy ( ProductionNode node, uint id, float fTime ) : void
hands_HandUpdate ( ProductionNode node, uint id, Point3D &position, float fTime ) : void
poseDetectionCapability_PoseDetected ( ProductionNode node, string pose, uint id ) : void
skeletonCapability_CalibrationEnd ( ProductionNode node, uint id, bool success ) : void
userGenerator_LostUser ( ProductionNode node, uint id ) : void
userGenerator_NewUser ( ProductionNode node, uint id ) : void

Private Methods

Method Description
getJointVector3 ( uint user, SkeletonJoint joint ) : Vector3

Method Details

Start() public method

public Start ( ) : void
return void

Update() public method

public Update ( ) : void
return void

createDefaultLineRenderer() public method

public createDefaultLineRenderer ( Transform obj ) : void
obj Transform
return void

gestures_GestureRecognized() public method

public gestures_GestureRecognized ( ProductionNode node, string strGesture, Point3D &idPosition, Point3D &endPosition ) : void
node xn.ProductionNode
strGesture string
idPosition Point3D
endPosition Point3D
return void

hands_HandCreate() public method

public hands_HandCreate ( ProductionNode node, uint id, Point3D &position, float fTime ) : void
node xn.ProductionNode
id uint
position Point3D
fTime float
return void

hands_HandDestroy() public method

public hands_HandDestroy ( ProductionNode node, uint id, float fTime ) : void
node xn.ProductionNode
id uint
fTime float
return void

hands_HandUpdate() public method

public hands_HandUpdate ( ProductionNode node, uint id, Point3D &position, float fTime ) : void
node xn.ProductionNode
id uint
position Point3D
fTime float
return void

poseDetectionCapability_PoseDetected() public method

public poseDetectionCapability_PoseDetected ( ProductionNode node, string pose, uint id ) : void
node xn.ProductionNode
pose string
id uint
return void

skeletonCapability_CalibrationEnd() public method

public skeletonCapability_CalibrationEnd ( ProductionNode node, uint id, bool success ) : void
node xn.ProductionNode
id uint
success bool
return void

userGenerator_LostUser() public method

public userGenerator_LostUser ( ProductionNode node, uint id ) : void
node xn.ProductionNode
id uint
return void

userGenerator_NewUser() public method

public userGenerator_NewUser ( ProductionNode node, uint id ) : void
node xn.ProductionNode
id uint
return void

Property Details

bias public_oe property

public Vector3 bias
return Vector3

depth public_oe property

public DepthGenerator,xn depth
return xn.DepthGenerator

drawSkeleton public_oe property

public bool drawSkeleton
return bool

handPoint public_oe property

public Vector3 handPoint
return Vector3

head public_oe property

public Transform head
return Transform

leftHand public_oe property

public Transform leftHand
return Transform

rgbMaterial public_oe property

public Material rgbMaterial
return Material

rightHand public_oe property

public Transform rightHand
return Transform

scale public_oe property

public float scale
return float