Table of Contents

Class CustomNodeViewAttribute

Namespace
Ceres.Editor.Graph
Assembly
Ceres.Graph.Editor.dll

Tells a node view class which run-time node type it's an editor for.

public sealed class CustomNodeViewAttribute : Attribute, _Attribute
Inheritance
CustomNodeViewAttribute
Implements
Inherited Members

Constructors

CustomNodeViewAttribute(Type)

public CustomNodeViewAttribute(Type nodeType)

Parameters

nodeType Type

CustomNodeViewAttribute(Type, bool)

public CustomNodeViewAttribute(Type nodeType, bool canInherit)

Parameters

nodeType Type
canInherit bool

Properties

CanInherit

Whether this view can be used for inherit types of NodeType

public bool CanInherit { get; }

Property Value

bool

NodeType

View bound node type, leave null to treat node view as hidden in factory

public Type NodeType { get; }

Property Value

Type