Table of Contents

Class LineSceneNode

Namespace
ValveResourceFormat.Renderer
Assembly
Renderer.dll

Scene node that renders a single line segment between two points.

public class LineSceneNode : SceneNode

Inheritance

Inherited Members

Constructors

LineSceneNode(Scene, Vector3, Vector3, Color32, Color32)

Initializes a new instance of the ValveResourceFormat.Renderer.LineSceneNode class.

public LineSceneNode(Scene scene, Vector3 start, Vector3 end, Color32 startColor, Color32 endColor)

Parameters

scene Scene

The scene this node belongs to.

start Vector3

The start position of the line.

end Vector3

The end position of the line.

startColor Color32

The color at the start of the line.

endColor Color32

The color at the end of the line.

Methods

Render(RenderContext)

Called each frame to render this node.

public override void Render(Scene.RenderContext context)

Parameters

context Scene.RenderContext

The current render context.