docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ComparisonGizmoState

    state of the comparison gizmo of the LookDev

    Inheritance
    object
    ComparisonGizmoState
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering.LookDev
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    [Serializable]
    public class ComparisonGizmoState

    Properties

    Name Description
    angle

    Angle from vertical in radian

    blendFactor

    The position of the blending slider. From value -1 on first extremity to value 1 on second extremity.

    center

    Position of the center

    length

    Length between extremity

    point1

    Position of the first extremity

    point2

    Position of the second extremity

    Methods

    Name Description
    Update(Vector2, float, float)

    Update all fields while moving the bar

    Update(Vector2, Vector2)

    Update all fields while moving one extremity

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)