Class MixedRealityInputActionsProfile
Configuration profile settings for setting up and consuming Input Actions.
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class MixedRealityInputActionsProfile : BaseMixedRealityProfile
Properties
InputActions
The list of actions users can do in your application.
Declaration
public MixedRealityInputAction[] InputActions { get; }
Property Value
Type | Description |
---|---|
MixedRealityInputAction[] |
Remarks
Input Actions are device agnostic and can be paired with any number of device inputs across all platforms.
Methods
LoadMixedRealityToolKitDefaults()
Reset the current InputActions definitions to the Mixed Reality Toolkit defaults If existing mappings exist, they will be preserved and pushed to the end of the array
Declaration
public MixedRealityInputAction[] LoadMixedRealityToolKitDefaults()
Returns
Type | Description |
---|---|
MixedRealityInputAction[] | Default MRTK Actions plus any custom actions (if already configured) |