C# Class OpenNISessionManager, Elemental

Inheritance: MonoBehaviour
Exibir arquivo Open project: CodeStrumpet/Elemental Class Usage Examples

Public Properties

Property Type Description
DetectPush bool
DetectWave bool
ExperimentalGestureless bool
RotateToUser bool
SessionBoundingBox bool
SessionBounds Vector3
StealOnWave bool

Private Properties

Property Type Description
DoCooldown IEnumerator

Public Methods

Method Description
AddListener ( GameObject obj ) : void
DebugDrawListeners ( ) : void
EndSession ( ) : void
NotifyHandCreate ( GameObject obj, Point3D pos ) : void
NotifyHandDestroy ( GameObject obj ) : void
NotifyHandUpdate ( GameObject obj, Point3D pos ) : void
NotifySessionEnd ( GameObject obj ) : void
NotifySessionStart ( GameObject obj ) : void
OnSessionEnded ( ) : void
OnSessionStarted ( Point3D pos ) : void
Point3DToVector3 ( Point3D pos ) : Vector3
RemoveListener ( GameObject obj ) : void
RotateHandPoint ( Point3D HandPoint ) : Point3D
Start ( ) : void
StartCooldown ( float seconds ) : void
StartSession ( Point3D pos ) : void
Vector3ToPoint3D ( Vector3 pos ) : Point3D
WhichUserDoesThisPointBelongTo ( Point3D point ) : int
WhichUserDoesThisPointBelongTo ( Vector3 point ) : int
gestures_GestureRecognized ( object Sender, OpenNI.GestureRecognizedEventArgs e ) : void
hands_HandCreate ( object Sender, OpenNI.HandCreateEventArgs e ) : void
hands_HandDestroy ( object Sender, OpenNI.HandDestroyEventArgs e ) : void
hands_HandUpdate ( object Sender, OpenNI.HandUpdateEventArgs e ) : void

Private Methods

Method Description
DoCooldown ( float seconds ) : IEnumerator

Method Details

AddListener() public static method

public static AddListener ( GameObject obj ) : void
obj GameObject
return void

DebugDrawListeners() public method

public DebugDrawListeners ( ) : void
return void

EndSession() public method

public EndSession ( ) : void
return void

NotifyHandCreate() public method

public NotifyHandCreate ( GameObject obj, Point3D pos ) : void
obj GameObject
pos Point3D
return void

NotifyHandDestroy() public method

public NotifyHandDestroy ( GameObject obj ) : void
obj GameObject
return void

NotifyHandUpdate() public method

public NotifyHandUpdate ( GameObject obj, Point3D pos ) : void
obj GameObject
pos Point3D
return void

NotifySessionEnd() public method

public NotifySessionEnd ( GameObject obj ) : void
obj GameObject
return void

NotifySessionStart() public method

public NotifySessionStart ( GameObject obj ) : void
obj GameObject
return void

OnSessionEnded() public method

public OnSessionEnded ( ) : void
return void

OnSessionStarted() public method

public OnSessionStarted ( Point3D pos ) : void
pos Point3D
return void

Point3DToVector3() public static method

public static Point3DToVector3 ( Point3D pos ) : Vector3
pos Point3D
return Vector3

RemoveListener() public static method

public static RemoveListener ( GameObject obj ) : void
obj GameObject
return void

RotateHandPoint() public method

public RotateHandPoint ( Point3D HandPoint ) : Point3D
HandPoint Point3D
return Point3D

Start() public method

public Start ( ) : void
return void

StartCooldown() public method

public StartCooldown ( float seconds ) : void
seconds float
return void

StartSession() public method

public StartSession ( Point3D pos ) : void
pos Point3D
return void

Vector3ToPoint3D() public static method

public static Vector3ToPoint3D ( Vector3 pos ) : Point3D
pos Vector3
return Point3D

WhichUserDoesThisPointBelongTo() public method

public WhichUserDoesThisPointBelongTo ( Point3D point ) : int
point Point3D
return int

WhichUserDoesThisPointBelongTo() public method

public WhichUserDoesThisPointBelongTo ( Vector3 point ) : int
point Vector3
return int

gestures_GestureRecognized() public method

public gestures_GestureRecognized ( object Sender, OpenNI.GestureRecognizedEventArgs e ) : void
Sender object
e OpenNI.GestureRecognizedEventArgs
return void

hands_HandCreate() public method

public hands_HandCreate ( object Sender, OpenNI.HandCreateEventArgs e ) : void
Sender object
e OpenNI.HandCreateEventArgs
return void

hands_HandDestroy() public method

public hands_HandDestroy ( object Sender, OpenNI.HandDestroyEventArgs e ) : void
Sender object
e OpenNI.HandDestroyEventArgs
return void

hands_HandUpdate() public method

public hands_HandUpdate ( object Sender, OpenNI.HandUpdateEventArgs e ) : void
Sender object
e OpenNI.HandUpdateEventArgs
return void

Property Details

DetectPush public_oe property

public bool DetectPush
return bool

DetectWave public_oe property

public bool DetectWave
return bool

ExperimentalGestureless public_oe property

public bool ExperimentalGestureless
return bool

RotateToUser public_oe property

public bool RotateToUser
return bool

SessionBoundingBox public_oe property

public bool SessionBoundingBox
return bool

SessionBounds public_oe property

public Vector3 SessionBounds
return Vector3

StealOnWave public_oe property

public bool StealOnWave
return bool