mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    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

    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
    • Properties
      • ColliderPadding
      • DrawTetherWhenManipulating
      • HandleGrabbedMaterial
      • HandleMaterial
      • HandlePrefab
      • HandlesIgnoreCollider
      • HandleSize
    • Methods
      • TrySetDefaultMaterial()
    Back to top Generated by DocFX