KeywordRecognitionSubsystem Class

Definition

A subsystem that exposes information about the user's KeywordRecognition.

C#
[UnityEngine.Scripting.Preserve]
public class KeywordRecognitionSubsystem : MixedReality.Toolkit.Subsystems.MRTKSubsystem<MixedReality.Toolkit.Subsystems.KeywordRecognitionSubsystem,MixedReality.Toolkit.Subsystems.KeywordRecognitionSubsystemDescriptor,MixedReality.Toolkit.Subsystems.KeywordRecognitionSubsystem.Provider>, MixedReality.Toolkit.Subsystems.IKeywordRecognitionSubsystem
Inheritance
UnityEngine.SubsystemsImplementation.SubsystemWithProvider<TSubsystem,TSubsystemDescriptor,TProvider>
KeywordRecognitionSubsystem
Derived
Attributes
UnityEngine.Scripting.PreserveAttribute
Implements
IKeywordRecognitionSubsystem UnityEngine.ISubsystem

Constructors

KeywordRecognitionSubsystem()

Initializes a new instance of the KeywordRecognitionSubsystem class.

Methods

CreateOrGetEventForKeyword(String)

Add or update a keyword to recognize.

GetAllKeywords()

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

OnFixedUpdate()

Called in response to the lifecycle manager fix update event function being called, if this subsystem is running.

(Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>)
OnLateUpdate()

Called in response to the lifecycle manager late update event function being called, if this subsystem is running.

(Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>)
OnUpdate()

Called in response to the lifecycle manager update event function being called, if this subsystem is running.

(Inherited from MRTKSubsystem<TSubsystem,TSubsystemDescriptor,TProvider>)
Register(KeywordRecognitionSubsystemCinfo)

Registers a KeywordRecognition subsystem implementation based on the given subsystem parameters.

RemoveAllKeywords()

Remove all keywords to recognize.

RemoveKeyword(String)

Remove a keyword to recognize.

Explicit Interface Implementations

Applies to

Proizvod Verzije
MRTK3 Core Definitions 3.0, 3.1, 3.2