Edytuj

Udostępnij za pośrednictwem


HandPhysicsServiceProfile Class

Definition

Configuration profile for HandPhysicsService extension service.

public ref class HandPhysicsServiceProfile : Microsoft::MixedReality::Toolkit::BaseMixedRealityProfile
[Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Extensions.HandPhysics.IHandPhysicsService), null)]
[UnityEngine.CreateAssetMenu(fileName="HandPhysicsServiceProfile", menuName="Mixed Reality Toolkit/Extensions/Hand Physics Service/Hand Physics Service Configuration Profile")]
public class HandPhysicsServiceProfile : Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile
[Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Extensions.HandPhysics.IHandPhysicsService), null)]
[UnityEngine.CreateAssetMenu(fileName="HandPhysicsServiceProfile", menuName="Mixed Reality/Toolkit/Extensions/Hand Physics Service/Hand Physics Service Configuration Profile")]
public class HandPhysicsServiceProfile : Microsoft.MixedReality.Toolkit.BaseMixedRealityProfile
[<Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Extensions.HandPhysics.IHandPhysicsService), null)>]
[<UnityEngine.CreateAssetMenu(fileName="HandPhysicsServiceProfile", menuName="Mixed Reality Toolkit/Extensions/Hand Physics Service/Hand Physics Service Configuration Profile")>]
type HandPhysicsServiceProfile = class
    inherit BaseMixedRealityProfile
[<Microsoft.MixedReality.Toolkit.MixedRealityServiceProfile(typeof(Microsoft.MixedReality.Toolkit.Extensions.HandPhysics.IHandPhysicsService), null)>]
[<UnityEngine.CreateAssetMenu(fileName="HandPhysicsServiceProfile", menuName="Mixed Reality/Toolkit/Extensions/Hand Physics Service/Hand Physics Service Configuration Profile")>]
type HandPhysicsServiceProfile = class
    inherit BaseMixedRealityProfile
Public Class HandPhysicsServiceProfile
Inherits BaseMixedRealityProfile
Inheritance
UnityEngine.ScriptableObject
HandPhysicsServiceProfile
Attributes
MixedRealityServiceProfileAttribute UnityEngine.CreateAssetMenuAttribute

Constructors

HandPhysicsServiceProfile()

Properties

FingerTipKinematicBodyPrefab

The prefab to represent each physics joint

HandPhysicsLayer

The Layer the physics joints will be on

PalmKinematicBodyPrefab

The prefab to represent the palm physics joint

UsePalmKinematicBody

Whether make the Palm a physics joint

Applies to