IPlug Plug { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Plug property of the NodeQuery struct in the Editor.NodeEditor namespace represents a connection point or interface within a node graph. This property is of type IPlug, which is an interface that defines the behavior and characteristics of a plug in the node editor system.

Usage

Use the Plug property to access or modify the plug associated with a particular node query. This can be useful when you need to interact with the plug's properties or methods, such as connecting it to other plugs or retrieving its current state.

Example

// Example of accessing the Plug property
NodeQuery nodeQuery = new NodeQuery();
IPlug plug = nodeQuery.Plug;

// Example of using the Plug property
if (plug != null)
{
    // Perform operations with the plug
    // e.g., connect to another plug, check its state, etc.
}