We've moved!

Starting from MRTK 2.6, we are publishing both conceptual docs and API references on docs.microsoft.com. For conceptual docs, please visit our new landing page. For API references, please visit the MRTK-Unity section of the dot net API explorer. Existing content will remain here but will not be updated further.

    Show / Hide Table of Contents

    Class NearInteractionTouchableVolume

    Add a NearInteractionTouchableVolume to your scene and configure a touchable volume in order to get PointerDown and PointerUp events whenever a PokePointer collides with this volume.

    Inheritance
    Object
    BaseNearInteractionTouchable
    ColliderNearInteractionTouchable
    NearInteractionTouchableVolume
    Inherited Members
    ColliderNearInteractionTouchable.ColliderEnabled
    ColliderNearInteractionTouchable.TouchableCollider
    ColliderNearInteractionTouchable.OnValidate()
    BaseNearInteractionTouchable.eventsToReceive
    BaseNearInteractionTouchable.EventsToReceive
    BaseNearInteractionTouchable.pokeThreshold
    BaseNearInteractionTouchable.PokeThreshold
    BaseNearInteractionTouchable.debounceThreshold
    BaseNearInteractionTouchable.DebounceThreshold
    Namespace: Microsoft.MixedReality.Toolkit.Input
    Assembly: cs.temp.dll.dll
    Syntax
    public class NearInteractionTouchableVolume : ColliderNearInteractionTouchable

    Methods

    DistanceToTouchable(Vector3, out Vector3)

    Declaration
    public override float DistanceToTouchable(Vector3 samplePoint, out Vector3 normal)
    Parameters
    Type Name Description
    Vector3 samplePoint
    Vector3 normal
    Returns
    Type Description
    Single
    Overrides
    BaseNearInteractionTouchable.DistanceToTouchable(Vector3, out Vector3)
    Back to top Generated by DocFX