KeywordRecognitionSubsystem.Provider Class

Definition

Interface for providing recognition functionality for the implementation.

C#
public abstract class KeywordRecognitionSubsystem.Provider : MixedReality.Toolkit.Subsystems.MRTKSubsystemProvider<MixedReality.Toolkit.Subsystems.KeywordRecognitionSubsystem>, MixedReality.Toolkit.Subsystems.IKeywordRecognitionSubsystem, UnityEngine.ISubsystem
Inheritance
UnityEngine.SubsystemsImplementation.SubsystemProvider<TSubsystem>
KeywordRecognitionSubsystem.Provider
Implements
IKeywordRecognitionSubsystem UnityEngine.ISubsystem

Constructors

Fields

keywordDictionary

The dictionary storing the current keywords and their associated actions.

Methods

CreateOrGetEventForKeyword(String)

Add or update a keyword to recognize.

Destroy()

Destroys this instance of a Unity subsystem.

(Inherited from MRTKSubsystemProvider<TSubsystem>)
FixedUpdate()

Called by the subsystem in response to the lifecycle manager's FixedUpdate method being called.

(Inherited from MRTKSubsystemProvider<TSubsystem>)
GetAllKeywords()

Get a read-only reference to the all keywords that are currently registered with the recognizer.

LateUpdate()

Called by the subsystem in response to the lifecycle manager's LateUpdate method being called.

(Inherited from MRTKSubsystemProvider<TSubsystem>)
RemoveAllKeywords()

Remove all keywords to recognize.

RemoveKeyword(String)

Remove a keyword to recognize.

Start()

Starts an instance of a Unity subsystem.

(Inherited from MRTKSubsystemProvider<TSubsystem>)
Stop()

Stops an instance of a Unity subsystem.

(Inherited from MRTKSubsystemProvider<TSubsystem>)
Update()

Called by the subsystem in response to the lifecycle manager's Update method being called.

(Inherited from MRTKSubsystemProvider<TSubsystem>)

Applies to

Proizvod Verzije
MRTK3 Core Definitions 3.0, 3.1, 3.2