Class DashedLineExtensions
public static class DashedLineExtensions
- Inheritance
-
DashedLineExtensions
Methods
Color(ref DashedLine, Color?)
Set the color for this DashedLine.
public static ref DashedLine Color(this ref DashedLine @this, Color? color)
Parameters
thisDashedLinecolorColor?
Returns
Color(ref DashedLine, Color?, Color?)
Set the color for this DashedLine.
public static ref DashedLine Color(this ref DashedLine @this, Color? color1, Color? color2)
Parameters
thisDashedLinecolor1Color?color2Color?
Returns
Dash(ref DashedLine, Dash)
The properties of the dash.
public static ref DashedLine Dash(this ref DashedLine @this, Dash dash)
Parameters
thisDashedLinedashDash
Returns
Position(ref DashedLine, float3, float3)
Set the position for this DashedLine.
public static ref DashedLine Position(this ref DashedLine @this, float3 p1, float3 p2)
Parameters
thisDashedLinep1float3p2float3
Returns
Ref(DashedLine)
Returns a reference to the previously created DashedLine 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<DashedLine> Ref(this DashedLine @this)
Parameters
thisDashedLine
Returns
SetDefault(ref DashedLine)
public static ref DashedLine SetDefault(this ref DashedLine @this)
Parameters
thisDashedLine