mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class HandPhysicsService

    A simple service that creates KinematicRigidbodies on fingertips for physics interactions.

    Inheritance
    Object
    BaseService
    BaseExtensionService
    HandPhysicsService
    Implements
    IHandPhysicsService
    IMixedRealityExtensionService
    IMixedRealityService
    IDisposable
    Inherited Members
    BaseExtensionService.Registrar
    BaseService.DefaultPriority
    BaseService.Name
    BaseService.Priority
    BaseService.ConfigurationProfile
    BaseService.Reset()
    BaseService.LateUpdate()
    BaseService.Destroy()
    BaseService.disposed
    BaseService.Dispose()
    BaseService.Dispose(Boolean)
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: Microsoft.MixedReality.Toolkit.Extensions.HandPhysics
    Assembly: cs.temp.dll.dll
    Syntax
    public class HandPhysicsService : BaseExtensionService, IHandPhysicsService, IMixedRealityExtensionService, IMixedRealityService, IDisposable

    Constructors

    HandPhysicsService(String, UInt32, BaseMixedRealityProfile)

    Constructor.

    Declaration
    public HandPhysicsService(string name, uint priority, BaseMixedRealityProfile profile)
    Parameters
    Type Name Description
    String name

    Friendly name of the service.

    UInt32 priority

    Service priority. Used to determine order of instantiation.

    BaseMixedRealityProfile profile

    The service's configuration profile.

    Properties

    FingerTipKinematicBodyPrefab

    Declaration
    public GameObject FingerTipKinematicBodyPrefab { get; set; }
    Property Value
    Type Description
    GameObject

    HandPhysicsLayer

    Declaration
    public int HandPhysicsLayer { get; set; }
    Property Value
    Type Description
    Int32

    HandPhysicsServiceRoot

    Declaration
    public GameObject HandPhysicsServiceRoot { get; }
    Property Value
    Type Description
    GameObject

    PalmKinematicBodyPrefab

    Declaration
    public GameObject PalmKinematicBodyPrefab { get; set; }
    Property Value
    Type Description
    GameObject

    UsePalmKinematicBody

    Declaration
    public bool UsePalmKinematicBody { get; set; }
    Property Value
    Type Description
    Boolean

    Methods

    Disable()

    Declaration
    public override void Disable()
    Overrides
    BaseService.Disable()

    Enable()

    Declaration
    public override void Enable()
    Overrides
    BaseService.Enable()

    Initialize()

    Declaration
    public override void Initialize()
    Overrides
    BaseService.Initialize()

    Update()

    Declaration
    public override void Update()
    Overrides
    BaseService.Update()

    Implements

    IHandPhysicsService
    IMixedRealityExtensionService
    IMixedRealityService
    IDisposable
    In This Article
    • Constructors
      • HandPhysicsService(String, UInt32, BaseMixedRealityProfile)
    • Properties
      • FingerTipKinematicBodyPrefab
      • HandPhysicsLayer
      • HandPhysicsServiceRoot
      • PalmKinematicBodyPrefab
      • UsePalmKinematicBody
    • Methods
      • Disable()
      • Enable()
      • Initialize()
      • Update()
    • Implements
    Back to top Generated by DocFX