docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface DebugUI.IValueField

    Any widget that implements this will be considered for serialization (only if the setter is set and thus is not read-only)

    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public interface DebugUI.IValueField

    Methods

    GetValue()

    Return the value of the field.

    Declaration
    object GetValue()
    Returns
    Type Description
    object

    Value of the field.

    SetValue(object)

    Set the value of the field.

    Declaration
    void SetValue(object value)
    Parameters
    Type Name Description
    object value

    Input value.

    ValidateValue(object)

    Function used to validate the value when setting it.

    Declaration
    object ValidateValue(object value)
    Parameters
    Type Name Description
    object value

    Input value.

    Returns
    Type Description
    object

    Validated value.

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)