C# Class Axiom.Demos.Line3d

A class for rendering lines in 3d.
Inheritance: Axiom.Graphics.SimpleRenderable
Show file Open project: WolfgangSt/axiom Class Usage Examples

Public Methods

Method Description
GetSquaredViewDepth ( Camera camera ) : float

Line3d ( Vector3 startPoint, Vector3 direction, float length, ColorEx color ) : System

Method Details

GetSquaredViewDepth() public method

public GetSquaredViewDepth ( Camera camera ) : float
camera Axiom.Core.Camera
return float

Line3d() public method

public Line3d ( Vector3 startPoint, Vector3 direction, float length, ColorEx color ) : System
startPoint Vector3 Point where the line will start.
direction Vector3 The direction the vector is heading in.
length float The length (magnitude) of the line vector.
color ColorEx The color which this line should be.
return System