Vector3 End { get; set; }

robot_2Generated
code_blocksInput

Description

The End property of the Line struct represents the end position of the line in 3D space. It is a Vector3 type, which means it holds three-dimensional coordinates (x, y, z) that define the endpoint of the line.

Usage

To use the End property, you can access it directly from an instance of the Line struct. This property is read-write, allowing you to get or set the end position of the line.

Example

// Example of using the End property
Line line = new Line();

// Set the end position of the line
line.End = new Vector3(10.0f, 5.0f, 3.0f);

// Get the end position of the line
Vector3 endPosition = line.End;

// Output the end position
// Note: Avoid using Console.WriteLine in s&box
// Instead, use appropriate logging or debugging tools
// Debug.Log(endPosition);