Table of Contents

Class NodeMetadata

Namespace
Pinwheel.Vista.Graph
Assembly
Pinwheel.Vista.Runtime.dll

Retrieves NodeMetadataAttribute data from node types.

public class NodeMetadata
Inheritance
NodeMetadata
Inherited Members

Remarks

This helper centralizes the reflection lookup used by graph editors and graph-type filters, such as the node restrictions enforced by BiomeMaskGraph.

Methods

Get(Type)

Returns the node metadata attribute declared on a node type.

Get<T>()

Returns the node metadata attribute declared on a node type specified by its CLR type argument.