C# Class KinectManager, ITP_OpenSourceAnimation

Inheritance: MonoBehaviour
Afficher le fichier Open project: n1ckfg/ITP_OpenSourceAnimation Class Usage Examples

Méthodes publiques

Свойство Type Description
DisplayUserMap bool
NearMode bool
Player1Avatars List
Player2Avatars List
TwoUsers bool

Méthodes publiques

Méthode Description
Awake ( ) : void
GetJointOrientation ( uint UserId, int joint, bool flip ) : Quaternion
GetJointPosition ( uint UserId, int joint ) : Vector3
GetPlayer1ID ( ) : uint
GetPlayer2ID ( ) : uint
GetUserOrientation ( uint UserId, bool flip ) : Quaternion
GetUserPosition ( uint UserId ) : Vector3
IsCalibrationNeeded ( ) : bool
IsJointTracked ( uint UserId, int joint ) : bool
IsKinectInitialized ( ) : bool
IsUserDetected ( ) : bool
OnApplicationQuit ( ) : void
OnCalibrationFailed ( uint UserId ) : void
OnCalibrationStarted ( uint UserId ) : void
OnCalibrationSuccess ( uint UserId ) : void
OnGUI ( ) : void
OnNewUser ( uint UserId ) : void
OnUserLost ( uint UserId ) : void
RecalibratePlayer1 ( ) : void
RecalibratePlayer2 ( ) : void
Start ( ) : void
Update ( ) : void
UpdateUserMap ( ) : void

Private Methods

Méthode Description
ConvertMatrixToQuat ( KinectWrapper, ori, int joint, bool flip ) : Quaternion

Method Details

Awake() public méthode

public Awake ( ) : void
Résultat void

GetJointOrientation() public méthode

public GetJointOrientation ( uint UserId, int joint, bool flip ) : Quaternion
UserId uint
joint int
flip bool
Résultat Quaternion

GetJointPosition() public méthode

public GetJointPosition ( uint UserId, int joint ) : Vector3
UserId uint
joint int
Résultat Vector3

GetPlayer1ID() public méthode

public GetPlayer1ID ( ) : uint
Résultat uint

GetPlayer2ID() public méthode

public GetPlayer2ID ( ) : uint
Résultat uint

GetUserOrientation() public méthode

public GetUserOrientation ( uint UserId, bool flip ) : Quaternion
UserId uint
flip bool
Résultat Quaternion

GetUserPosition() public méthode

public GetUserPosition ( uint UserId ) : Vector3
UserId uint
Résultat Vector3

IsCalibrationNeeded() public static méthode

public static IsCalibrationNeeded ( ) : bool
Résultat bool

IsJointTracked() public méthode

public IsJointTracked ( uint UserId, int joint ) : bool
UserId uint
joint int
Résultat bool

IsKinectInitialized() public static méthode

public static IsKinectInitialized ( ) : bool
Résultat bool

IsUserDetected() public méthode

public IsUserDetected ( ) : bool
Résultat bool

OnApplicationQuit() public méthode

public OnApplicationQuit ( ) : void
Résultat void

OnCalibrationFailed() public méthode

public OnCalibrationFailed ( uint UserId ) : void
UserId uint
Résultat void

OnCalibrationStarted() public méthode

public OnCalibrationStarted ( uint UserId ) : void
UserId uint
Résultat void

OnCalibrationSuccess() public méthode

public OnCalibrationSuccess ( uint UserId ) : void
UserId uint
Résultat void

OnGUI() public méthode

public OnGUI ( ) : void
Résultat void

OnNewUser() public méthode

public OnNewUser ( uint UserId ) : void
UserId uint
Résultat void

OnUserLost() public méthode

public OnUserLost ( uint UserId ) : void
UserId uint
Résultat void

RecalibratePlayer1() public méthode

public RecalibratePlayer1 ( ) : void
Résultat void

RecalibratePlayer2() public méthode

public RecalibratePlayer2 ( ) : void
Résultat void

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

public Update ( ) : void
Résultat void

UpdateUserMap() public méthode

public UpdateUserMap ( ) : void
Résultat void

Property Details

DisplayUserMap public_oe property

public bool DisplayUserMap
Résultat bool

NearMode public_oe property

public bool NearMode
Résultat bool

Player1Avatars public_oe property

public List Player1Avatars
Résultat List

Player2Avatars public_oe property

public List Player2Avatars
Résultat List

TwoUsers public_oe property

public bool TwoUsers
Résultat bool