HandleShape Shape { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Shape property of the HandleConfig struct in the Editor.NodeEditor namespace specifies the shape of a handle used in the node editor. This property is of type HandleShape, which defines the geometric form of the handle, such as a circle, square, or other predefined shapes.

Usage

To use the Shape property, you need to create an instance of the HandleConfig struct. You can then get or set the Shape property to define or retrieve the shape of the handle.

Example usage:

HandleConfig config = new HandleConfig();
config.Shape = HandleShape.Circle; // Set the shape to a circle
HandleShape currentShape = config.Shape; // Retrieve the current shape

Example

HandleConfig config = new HandleConfig();
config.Shape = HandleShape.Circle; // Set the shape to a circle
HandleShape currentShape = config.Shape; // Retrieve the current shape