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 HandlesBaseConfiguration

    Configuration base class for any BoundsControl handle type deriving from HandlesBase

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

    Fields

    configurationChanged

    Declaration
    protected UnityEvent configurationChanged
    Field Value
    Type Description
    UnityEvent

    visibilityChanged

    Declaration
    protected UnityEvent visibilityChanged
    Field Value
    Type Description
    UnityEvent

    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

    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

    HandleSize

    Size of the handle collidable

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

    Methods

    TrySetDefaultMaterial()

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