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 ButtonCollider

    Scales the collider on one object relative to the transform's scale of another object

    Inheritance
    Object
    ButtonCollider
    Namespace: Microsoft.MixedReality.Toolkit.UI
    Assembly: cs.temp.dll.dll
    Syntax
    public class ButtonCollider : MonoBehaviour

    Fields

    CopyFrom

    Declaration
    public Transform CopyFrom
    Field Value
    Type Description
    Transform

    Expand

    Declaration
    public Vector3 Expand
    Field Value
    Type Description
    Vector3

    OnlyInEditMode

    Declaration
    public bool OnlyInEditMode
    Field Value
    Type Description
    Boolean

    ScaleFactor

    Declaration
    public Vector3 ScaleFactor
    Field Value
    Type Description
    Vector3
    Back to top Generated by DocFX