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.

Search Results for

    Show / Hide Table of Contents

    Class HandlesBaseConfiguration

    Configuration base class for any BoundsControl handle type deriving from HandlesBase

    Inheritance
    Object
    HandlesBaseConfiguration
    PerAxisHandlesConfiguration
    ScaleHandlesConfiguration
    Namespace: Microsoft.MixedReality.Toolkit.UI.BoundsControl
    Assembly: cs.temp.dll.dll
    Syntax
    public abstract class HandlesBaseConfiguration : ScriptableObject

    Properties

    ColliderPadding

    Additional padding to apply to the handle collider to make handle easier to hit

    Declaration
    public Vector3 ColliderPadding { get; set; }
    Property Value
    Type Description
    Vector3

    DrawTetherWhenManipulating

    Check to draw a tether point from the handles to the hand when manipulating.

    Declaration
    public bool DrawTetherWhenManipulating { get; set; }
    Property Value
    Type Description
    Boolean

    HandleGrabbedMaterial

    Material applied to handles while they are a grabbed

    Declaration
    public Material HandleGrabbedMaterial { get; set; }
    Property Value
    Type Description
    Material

    HandleMaterial

    Material applied to handles when they are not in a grabbed state

    Declaration
    public Material HandleMaterial { get; set; }
    Property Value
    Type Description
    Material

    HandlePrefab

    Prefab used to display this type of bounds control handle. If not set, default shape will be used (scale default: boxes, rotation default: spheres)

    Declaration
    public GameObject HandlePrefab { get; set; }
    Property Value
    Type Description
    GameObject

    HandlesIgnoreCollider

    Add a Collider here if you do not want the handle colliders to interact with another object's collider.

    Declaration
    public Collider HandlesIgnoreCollider { get; set; }
    Property Value
    Type Description
    Collider

    HandleSize

    Size of the handle collidable

    Declaration
    public float HandleSize { get; set; }
    Property Value
    Type Description
    Single

    Methods

    TrySetDefaultMaterial()

    Declaration
    protected void TrySetDefaultMaterial()
    In This Article
    Back to top Generated by DocFX