Class BrushSizeUI | Unity Reflect | 1.0.0-preview.11
docs.unity3d.com
    Show / Hide Table of Contents

    Class BrushSizeUI

    Inheritance
    Object
    BrushSizeUI
    Namespace: UnityEditor.Experimental.EditorVR.Tools
    Syntax
    public class BrushSizeUI : MonoBehaviour, IAlternateMenu, IMenu, IUsesRayOrigin

    Properties

    localBounds

    Declaration
    public Bounds localBounds { get; }
    Property Value
    Type Description
    Bounds
    Implements
    IMenu.localBounds

    menuContent

    Declaration
    public GameObject menuContent { get; }
    Property Value
    Type Description
    GameObject
    Implements
    IMenu.menuContent

    menuHideFlags

    Declaration
    public MenuHideFlags menuHideFlags { get; set; }
    Property Value
    Type Description
    MenuHideFlags
    Implements
    IMenu.menuHideFlags

    onValueChanged

    Declaration
    public Action<float> onValueChanged { set; }
    Property Value
    Type Description
    Action<Single>

    priority

    Declaration
    public int priority { get; }
    Property Value
    Type Description
    Int32
    Implements
    IMenu.priority

    rayOrigin

    Declaration
    public Transform rayOrigin { get; set; }
    Property Value
    Type Description
    Transform
    Implements
    IUsesRayOrigin.rayOrigin

    Methods

    ChangeSliderValue(Single)

    Declaration
    public void ChangeSliderValue(float newValue)
    Parameters
    Type Name Description
    Single newValue

    OnBrushColorChanged(Color)

    Declaration
    public void OnBrushColorChanged(Color newColor)
    Parameters
    Type Name Description
    Color newColor

    OnSliderValueChanged(Single)

    Declaration
    public void OnSliderValueChanged(float value)
    Parameters
    Type Name Description
    Single value
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023