Class HandJointService
Inheritance
Implements
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
[MixedRealityDataProvider(typeof(IMixedRealityInputSystem), null, "Hand Joint Service")]
public class HandJointService : BaseInputDeviceManager, IMixedRealityHandJointService, IMixedRealityInputDeviceManager, IMixedRealityDataProvider, IMixedRealityService, IDisposable
Constructors
HandJointService(IMixedRealityServiceRegistrar, IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
[Obsolete("This constructor is obsolete (registrar parameter is no longer required) and will be removed in a future version of the Microsoft Mixed Reality Toolkit.")]
public HandJointService(IMixedRealityServiceRegistrar registrar, IMixedRealityInputSystem inputSystem, string name, uint priority, BaseMixedRealityProfile profile)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityServiceRegistrar | registrar | The IMixedRealityServiceRegistrar instance that loaded the data provider. |
IMixedRealityInputSystem | inputSystem | The IMixedRealityInputSystem instance that receives data from this provider. |
String | name | Friendly name of the service. |
UInt32 | priority | Service priority. Used to determine order of instantiation. |
BaseMixedRealityProfile | profile | The service's configuration profile. |
HandJointService(IMixedRealityInputSystem, String, UInt32, BaseMixedRealityProfile)
Constructor.
Declaration
public HandJointService(IMixedRealityInputSystem inputSystem, string name, uint priority, BaseMixedRealityProfile profile)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityInputSystem | inputSystem | The IMixedRealityInputSystem instance that receives data from this provider. |
String | name | Friendly name of the service. |
UInt32 | priority | Service priority. Used to determine order of instantiation. |
BaseMixedRealityProfile | profile | The service's configuration profile. |
Methods
Disable()
Optional Disable function to pause the service.
Declaration
public override void Disable()
Overrides
IsHandTracked(Handedness)
Declaration
public bool IsHandTracked(Handedness handedness)
Parameters
Type | Name | Description |
---|---|---|
Handedness | handedness |
Returns
Type | Description |
---|---|
Boolean |
LateUpdate()
Optional LateUpdate function to that is called after Update has been called on all services.
Declaration
public override void LateUpdate()
Overrides
RequestJointTransform(TrackedHandJoint, Handedness)
Declaration
public Transform RequestJointTransform(TrackedHandJoint joint, Handedness handedness)
Parameters
Type | Name | Description |
---|---|---|
TrackedHandJoint | joint | |
Handedness | handedness |
Returns
Type | Description |
---|---|
Transform |