Editar

Compartir a través de


BaseGenericInputSource Class

Definition

Base class for input sources that don't inherit from MonoBehaviour.

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

Remarks

This base class does not support adding or removing pointers, because many will never pass pointers in their constructors and will fall back to either the Gaze or Mouse Pointer.

Constructors

BaseGenericInputSource(String, IMixedRealityPointer[], 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)

Determines whether the specified object is equal to the current object.

GetHashCode()

Serves as the default hash function.

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