docs.unity3d.com
    显示 / 隐藏目录

    Class GraphDataPropertyDrawer

    Inheritance
    Object
    GraphDataPropertyDrawer
    Namespace: UnityEditor.ShaderGraph.Drawing.Inspector.PropertyDrawers
    Syntax
    [SGPropertyDrawer(typeof(GraphData))]
    public class GraphDataPropertyDrawer : IPropertyDrawer

    Properties

    inspectorUpdateDelegate

    Declaration
    public Action inspectorUpdateDelegate { get; set; }
    Property Value
    Type Description
    Action
    Implements
    IPropertyDrawer.inspectorUpdateDelegate

    Methods

    DrawProperty(PropertyInfo, Object, InspectableAttribute)

    Declaration
    public VisualElement DrawProperty(PropertyInfo propertyInfo, object actualObject, InspectableAttribute attribute)
    Parameters
    Type Name Description
    PropertyInfo propertyInfo
    Object actualObject
    InspectableAttribute attribute
    Returns
    Type Description
    VisualElement
    Implements
    IPropertyDrawer.DrawProperty(PropertyInfo, Object, InspectableAttribute)

    GetPropertyData(GraphDataPropertyDrawer.PostTargetSettingsChangedCallback, GraphDataPropertyDrawer.ChangeConcretePrecisionCallback)

    Declaration
    public void GetPropertyData(GraphDataPropertyDrawer.PostTargetSettingsChangedCallback postChangeValueCallback, GraphDataPropertyDrawer.ChangeConcretePrecisionCallback changeConcretePrecisionCallback)
    Parameters
    Type Name Description
    GraphDataPropertyDrawer.PostTargetSettingsChangedCallback postChangeValueCallback
    GraphDataPropertyDrawer.ChangeConcretePrecisionCallback changeConcretePrecisionCallback
    返回到顶部
    Copyright © 2023 Unity Technologies — 商标和使用条款
    • 法律条款
    • 隐私政策
    • Cookie
    • 不要出售或分享我的个人信息
    • Your Privacy Choices (Cookie Settings)