bool ParentLine { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The ParentLine property of the AxisAttribute class in the Sandbox.ModelEditor namespace is a boolean property that determines whether a visual line is drawn from the helper to the parent attachment or bone when the node is selected. This can be useful for visualizing the relationship between nodes in a model editor environment.

Usage

To use the ParentLine property, you can set it to true or false depending on whether you want the line to be drawn. This property is particularly useful in scenarios where you need to visualize the hierarchy or connections between different parts of a model.

Example

// Example of using the ParentLine property
AxisAttribute axisAttribute = new AxisAttribute();

// Enable the parent line drawing
axisAttribute.ParentLine = true;

// Disable the parent line drawing
axisAttribute.ParentLine = false;