Class LineSceneNode
- Namespace
- ValveResourceFormat.Renderer
- Assembly
- Renderer.dll
Scene node that renders a single line segment between two points.
public class LineSceneNode : SceneNodeInheritance
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
sceneScene-
The scene this node belongs to.
startVector3-
The start position of the line.
endVector3-
The end position of the line.
startColorColor32-
The color at the start of the line.
endColorColor32-
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
contextScene.RenderContext-
The current render context.