Class NearInteractionTouchableSurface
A near interaction object which is a flat surface and can be pressed in one direction.
Inheritance
NearInteractionTouchableSurface
Implements
MonoBehaviour
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Input
Assembly: cs.temp.dll.dll
Syntax
public abstract class NearInteractionTouchableSurface : BaseNearInteractionTouchable, MonoBehaviour
Properties
Bounds
Bounds specify where touchable interactions can occur. They are local bounds on the plane specified by the LocalCenter and LocalPressDirection (as a normal).
Declaration
public abstract Vector2 Bounds { get; }
Property Value
Type | Description |
---|---|
Vector2 |
Bounds
Bounds specify where touchable interactions can occur. They are local bounds on the plane specified by the LocalCenter and LocalPressDirection (as a normal).
Declaration
public abstract Vector2 Bounds { get; }
Property Value
Type | Description |
---|---|
Vector2 |
LocalCenter
The local center point of interaction. This may be based on a collider position or Unity UI RectTransform.
Declaration
public abstract Vector3 LocalCenter { get; }
Property Value
Type | Description |
---|---|
Vector3 |
LocalCenter
The local center point of interaction. This may be based on a collider position or Unity UI RectTransform.
Declaration
public abstract Vector3 LocalCenter { get; }
Property Value
Type | Description |
---|---|
Vector3 |
LocalPressDirection
This is the direction that a user will press on this element.
Declaration
public abstract Vector3 LocalPressDirection { get; }
Property Value
Type | Description |
---|---|
Vector3 |
LocalPressDirection
This is the direction that a user will press on this element.
Declaration
public abstract Vector3 LocalPressDirection { get; }
Property Value
Type | Description |
---|---|
Vector3 |
Implements
MonoBehaviour