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 ButtonSizeOffset

    Scales an object relative the scale of the AnchorTransform

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

    Fields

    AnchorTransform

    Declaration
    public Transform AnchorTransform
    Field Value
    Type Description
    Transform

    BasePixelScale

    Declaration
    public float BasePixelScale
    Field Value
    Type Description
    Single

    Offset

    Declaration
    public Vector3 Offset
    Field Value
    Type Description
    Vector3

    OnlyInEditMode

    Declaration
    public bool OnlyInEditMode
    Field Value
    Type Description
    Boolean

    Scale

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