編集

次の方法で共有


SourceStateEventData Class

Definition

Describes an source state event that has a source id.

public ref class SourceStateEventData : Microsoft::MixedReality::Toolkit::Input::BaseInputEventData
public class SourceStateEventData : Microsoft.MixedReality.Toolkit.Input.BaseInputEventData
type SourceStateEventData = class
    inherit BaseInputEventData
Public Class SourceStateEventData
Inherits BaseInputEventData
Inheritance
UnityEngine.EventSystems.BaseEventData
SourceStateEventData
Derived

Remarks

Source State events do not have an associated MixedRealityInputAction.

Constructors

SourceStateEventData(EventSystem)

Constructor.

Properties

Controller
EventTime

The UTC time at which the event occurred.

(Inherited from BaseInputEventData)
InputSource

The source the input event originates from.

(Inherited from BaseInputEventData)
MixedRealityInputAction

The input action for this event.

(Inherited from BaseInputEventData)
SourceId

The id of the source the event is from, for instance the hand id.

(Inherited from BaseInputEventData)

Methods

BaseInitialize(IMixedRealityInputSource, MixedRealityInputAction)

Used to initialize/reset the event and populate the data.

(Inherited from BaseInputEventData)
Initialize(IMixedRealityInputSource, IMixedRealityController)

Populates the event with data.

Applies to