Class SourceStateEventData
Describes an source state event that has a source id.
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public class SourceStateEventData : BaseInputEventData
Remarks
Source State events do not have an associated MixedRealityInputAction.
Constructors
SourceStateEventData(EventSystem)
Constructor.
Declaration
public SourceStateEventData(EventSystem eventSystem)
Parameters
Type | Name | Description |
---|---|---|
EventSystem | eventSystem | Typically will be EventSystems.EventSystem.current |
Properties
Controller
Declaration
public IMixedRealityController Controller { get; }
Property Value
Type | Description |
---|---|
IMixedRealityController |
Methods
Initialize(IMixedRealityInputSource, IMixedRealityController)
Populates the event with data.
Declaration
public void Initialize(IMixedRealityInputSource inputSource, IMixedRealityController controller)
Parameters
Type | Name | Description |
---|---|---|
IMixedRealityInputSource | inputSource | |
IMixedRealityController | controller |