Table of Contents

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

this DashedLine
color Color?

Returns

DashedLine

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

this DashedLine
color1 Color?
color2 Color?

Returns

DashedLine

Dash(ref DashedLine, Dash)

The properties of the dash.

public static ref DashedLine Dash(this ref DashedLine @this, Dash dash)

Parameters

this DashedLine
dash Dash

Returns

DashedLine

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

this DashedLine
p1 float3
p2 float3

Returns

DashedLine

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

this DashedLine

Returns

VisualRef<DashedLine>

SetDefault(ref DashedLine)

public static ref DashedLine SetDefault(this ref DashedLine @this)

Parameters

this DashedLine

Returns

DashedLine