Class CustomNodeViewAttribute
Tells a node view class which run-time node type it's an editor for.
Inheritance
object
CustomNodeViewAttribute
Namespace: Ceres.Editor
Assembly: cs.temp.dll.dll
Syntax
public sealed class CustomNodeViewAttribute : Attribute
Constructors
CustomNodeViewAttribute(Type, bool)
Declaration
public CustomNodeViewAttribute(Type nodeType, bool canInherit)
Parameters
Type | Name | Description |
---|---|---|
Type | nodeType | |
bool | canInherit |
CustomNodeViewAttribute(Type)
Declaration
public CustomNodeViewAttribute(Type nodeType)
Parameters
Type | Name | Description |
---|---|---|
Type | nodeType |
Properties
CanInherit
Whether this view can be used for inherit types of NodeType
Declaration
public bool CanInherit { get; }
Property Value
Type | Description |
---|---|
bool |
NodeType
View bound node type, leave null to treat node view as hidden in factory
Declaration
public Type NodeType { get; }
Property Value
Type | Description |
---|---|
Type |