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