docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct InspectorCurveEditor.Settings

    A structure holding settings used for the curve editor.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public struct InspectorCurveEditor.Settings

    Fields

    Name Description
    bounds

    The boundaries of the curve.

    curvePickingDistance

    The distance in pixels to check for curve selection on mouse click.

    keyTimeClampingDistance

    The distance to clamp keys at compared to the previous and next keys.

    padding

    The visual padding used when rendering the curve in the inspector.

    selectionColor

    The color to use when a curve is selected.

    Properties

    Name Description
    defaultSettings

    Default settings.

    • bounds are set to (0, 0, 1, 1).
    • padding is set to (0, 0, 0, 0).
    • selectionColor is set to yellow.
    • curvePickingDistance is set to 6 pixels.
    • keyTimeClampingDistance is set to 1e-4.

    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)