Bearbeiten

Freigeben über


BaseGlobalInputSource Class

Definition

Base class for input sources whose pointers are all active pointers in the scene.

public ref class BaseGlobalInputSource : IDisposable, Microsoft::MixedReality::Toolkit::Input::IMixedRealityInputSource, System::Collections::IEqualityComparer
public class BaseGlobalInputSource : IDisposable, Microsoft.MixedReality.Toolkit.Input.IMixedRealityInputSource, System.Collections.IEqualityComparer
type BaseGlobalInputSource = class
    interface IMixedRealityInputSource
    interface IMixedRealityEventSource
    interface IEqualityComparer
    interface IDisposable
Public Class BaseGlobalInputSource
Implements IDisposable, IEqualityComparer, IMixedRealityInputSource
Inheritance
BaseGlobalInputSource
Implements

Remarks

This base class is intended to represent input sources which raise events to all active pointers found by the FocusProvider in a scene.

Constructors

BaseGlobalInputSource(String, IMixedRealityFocusProvider, InputSourceType)

Constructor.

Properties

Pointers

Array of pointers associated with this input source.

SourceId

The unique source id of this event source.

SourceName

The name of this event source.

SourceType

The type of input source this object represents.

Methods

Dispose()

Dispose.

Equals(IMixedRealityInputSource, IMixedRealityInputSource)
Equals(Object)
GetHashCode()
UpdateActivePointers()

Explicit Interface Implementations

IEqualityComparer.Equals(Object, Object)

Determines whether the specified objects are equal.

IEqualityComparer.GetHashCode(Object)

Returns a hash code for the specified object.

Applies to