Class GenericPointer
Base Class for pointers that don't inherit from MonoBehaviour.
Inheritance
GenericPointer
Implements
IEqualityComparer
Assembly: cs.temp.dll.dll
public abstract class GenericPointer : IMixedRealityPointer, IEqualityComparer
Constructors
Declaration
protected GenericPointer(string pointerName, IMixedRealityInputSource inputSourceParent)
Parameters
Properties
Declaration
public IMixedRealityCursor BaseCursor { get; set; }
Property Value
The pointer's current controller reference.
Declaration
public virtual IMixedRealityController Controller { get; set; }
Property Value
The currently active cursor modifier.
Declaration
public ICursorModifier CursorModifier { get; set; }
Property Value
The currently focused target.
Declaration
public IMixedRealityFocusHandler FocusTarget { get; set; }
Property Value
This pointer's input source parent.
Declaration
public virtual IMixedRealityInputSource InputSourceParent { get; protected set; }
Property Value
Declaration
public bool IsActive { get; set; }
Property Value
Is the focus for this pointer currently locked?
Declaration
public bool IsFocusLocked { get; set; }
Property Value
Is the pointer active and have the conditions for the interaction been satisfied to enable the interaction?
Declaration
public bool IsInteractionEnabled { get; set; }
Property Value
Specifies whether the pointer's target position (cursor) is locked to the target object when focus is locked.
Declaration
public bool IsTargetPositionLockedOnFocusLock { get; set; }
Property Value
The pointer's maximum extent when raycasting.
Declaration
public virtual float PointerExtent { get; set; }
Property Value
Declaration
public uint PointerId { get; }
Property Value
Declaration
public string PointerName { get; set; }
Property Value
Declaration
public abstract Vector3 Position { get; }
Property Value
The physics layers to use when performing scene queries.
Declaration
public LayerMask[] PrioritizedLayerMasksOverride { get; set; }
Property Value
Type |
Description |
LayerMask[] |
|
Declaration
public RayStep[] Rays { get; protected set; }
Property Value
Type |
Description |
RayStep[] |
|
Ray stabilizer used when calculating position of pointer end point.
Declaration
public IBaseRayStabilizer RayStabilizer { get; set; }
Property Value
Type |
Description |
IBaseRayStabilizer |
|
The scene query pointer result.
Declaration
public IPointerResult Result { get; set; }
Property Value
Declaration
public abstract Quaternion Rotation { get; }
Property Value
Type |
Description |
Quaternion |
|
The type of physics scene query to use.
Declaration
public SceneQueryType SceneQueryType { get; set; }
Property Value
Type |
Description |
SceneQueryType |
|
The radius to use when SceneQueryType is set to Sphere or SphereColliders.
Declaration
public float SphereCastRadius { get; set; }
Property Value
Declaration
public IMixedRealityTeleportHotSpot TeleportHotSpot { get; set; }
Property Value
Type |
Description |
IMixedRealityTeleportHotSpot |
|
Methods
Declaration
public static bool Equals(IMixedRealityPointer left, IMixedRealityPointer 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
OnPostSceneQuery()
Called after performing the scene query.
Declaration
public abstract void OnPostSceneQuery()
Called during the scene query just before the current pointer target changes.
Declaration
public abstract void OnPreCurrentPointerTargetChange()
Called before performing the scene query.
Declaration
public abstract void OnPreSceneQuery()
Implements
IEqualityComparer