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
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