Class BaseGenericInputSource
Base class for input sources that don't inherit from MonoBehaviour.
Inheritance
BaseGenericInputSource
Implements
IEqualityComparer
Assembly: cs.temp.dll.dll
public class BaseGenericInputSource : IMixedRealityInputSource, IMixedRealityEventSource, IEqualityComparer, IDisposable
Constructors
Declaration
public BaseGenericInputSource(string name, IMixedRealityPointer[] pointers = null, InputSourceType sourceType = InputSourceType.Other)
Parameters
Properties
The active instance of the input system.
Declaration
protected IMixedRealityInputSystem InputSystem { get; }
Property Value
Array of pointers associated with this input source.
Declaration
public virtual IMixedRealityPointer[] Pointers { get; }
Property Value
The Unique Source Id of this Event Source.
Declaration
public uint SourceId { get; }
Property Value
The Name of this Event Source.
Declaration
public string SourceName { get; }
Property Value
The type of input source this object represents.
Declaration
public InputSourceType SourceType { get; set; }
Property Value
Methods
Declaration
public virtual void Dispose()
Declaration
public static bool Equals(IMixedRealityInputSource left, IMixedRealityInputSource right)
Parameters
Returns
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
Overrides
Declaration
public override int GetHashCode()
Returns
Overrides
Implements
IEqualityComparer