docs.unity3d.com
    目次を表示する/隠す

    Class CompositorNodeAttribute

    Classes which are decorated with this attribute will appear in the 'Create Node' menu in the Visual Compositor editor.

    Inheritance
    Object
    Attribute
    CompositorNodeAttribute
    Namespace: Unity.VisualCompositor
    Syntax
    [AttributeUsage(AttributeTargets.Class)]
    public class CompositorNodeAttribute : Attribute, _Attribute

    Constructors

    CompositorNodeAttribute(String, String, Int32, Boolean, String)

    Constructs an attribute which allows the usage of the decorated class in Visual Compositor.

    Declaration
    public CompositorNodeAttribute(string title, string tooltip, int w = 384, bool userCreatable = true, string icon = "")
    Parameters
    Type Name Description
    String title

    The path/name used in the 'Create Node' menu.

    String tooltip

    The text that appears when hovering over the node in the editor.

    Int32 w

    The width of the node widget in the editor.

    Boolean userCreatable

    if false, the node will not appear in the 'Create Node' menu.

    String icon

    An optional path to icon used in the widget header.

    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)