The SceneLineObject class is a part of the Sandbox namespace and is used to draw lines within a scene. It extends the SceneDynamicObject class, providing additional functionality specific to line rendering.
The SceneLineObject class is a part of the Sandbox namespace and is used to draw lines within a scene. It extends the SceneDynamicObject class, providing additional functionality specific to line rendering.
Member Name | Summary |
---|---|
StartLine | Begins a new line sequence. |
AddLinePoint(Vector3&, Color, float) | Adds a point to the current line with specified position, color, and width. |
AddLinePoint(Vector3&, Color, float, float) | Adds a point to the current line with specified position, color, width, and texture coordinate. |
AddLinePoint(Vector3&, Vector3&, Color, float, float) | Adds a point to the current line with specified position, normal, color, width, and texture coordinate. |
EndLine | Ends the current line sequence. |
LineTexture | Gets or sets the texture applied to the line. |
StartCap | Gets or sets the style of the line's starting cap. |
EndCap | Gets or sets the style of the line's ending cap. |
Face | Gets or sets the face mode of the line. |
Wireframe | Gets or sets a value indicating whether the line is rendered in wireframe mode. |
Smoothness | Gets or sets the smoothness level of the line. |
Opaque | Gets or sets a value indicating whether the line is opaque. |