Class Dx3DLine
Assembly: SlipeClient.dll
Syntax
public class Dx3DLine : LazyAttachableObject, IDrawable
Constructors
|
Improve this Doc
View Source
Dx3DLine(PhysicalElement, Vector3, Matrix4x4)
Create a 3D line attached to a certain object
Declaration
public Dx3DLine(PhysicalElement attachedTo, Vector3 relativeEndPos, Matrix4x4 offset)
Parameters
|
Improve this Doc
View Source
Dx3DLine(Vector3, Vector3)
Declaration
public Dx3DLine(Vector3 startPos, Vector3 endPos)
Parameters
|
Improve this Doc
View Source
Dx3DLine(Vector3, Vector3, Color, Single, Boolean)
Declaration
public Dx3DLine(Vector3 startPos, Vector3 endPos, Color color, float width = 1F, bool postGUI = false)
Parameters
Fields
|
Improve this Doc
View Source
endPos
The end position of the 3D line
Declaration
Field Value
|
Improve this Doc
View Source
relativeEndPosition
Declaration
protected Vector3 relativeEndPosition
Field Value
|
Improve this Doc
View Source
startPos
The start position of the 3D line
Declaration
protected Vector3 startPos
Field Value
Properties
|
Improve this Doc
View Source
Color
Declaration
public Color Color { get; set; }
Property Value
|
Improve this Doc
View Source
EndPosition
Declaration
public Vector3 EndPosition { get; set; }
Property Value
|
Improve this Doc
View Source
PostGUI
Wether to draw the line behind or in front of GUI elements
Declaration
public bool PostGUI { get; set; }
Property Value
|
Improve this Doc
View Source
StartPosition
Declaration
public Vector3 StartPosition { get; set; }
Property Value
|
Improve this Doc
View Source
Visible
Get and set if this line is currently visible
Declaration
public bool Visible { get; set; }
Property Value
|
Improve this Doc
View Source
Width
Declaration
public float Width { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
Draw(RootElement, OnRenderEventArgs)
Declaration
public virtual bool Draw(RootElement source, OnRenderEventArgs eventArgs)
Parameters
Returns
|
Improve this Doc
View Source
Update(RootElement, OnUpdateEventArgs)
Declaration
protected override void Update(RootElement source = null, OnUpdateEventArgs eventArgs = null)
Parameters
Overrides
Implements