Class LineExtensions
public static class LineExtensions
- Inheritance
-
LineExtensions
Methods
Color(ref Line, Color?)
Set the color for this Line.
public static ref Line Color(this ref Line @this, Color? color)
Parameters
Returns
Color(ref Line, Color?, Color?)
Set the color for this Line.
public static ref Line Color(this ref Line @this, Color? color1, Color? color2)
Parameters
Returns
Position(ref Line, float3, float3)
Set the position for this Line.
public static ref Line Position(this ref Line @this, float3 p1, float3 p2)
Parameters
Returns
Ref(Line)
Returns a reference to the previously created Line visual.
If you need to keep a reference to a long-lived visual, this will
allow you to modify or delete the visual at some point in the future.
Important: only use this directly after creating a visual, as it may
not be valid beyond that.
public static VisualRef<Line> Ref(this Line @this)
Parameters
thisLine