Table of Contents

Class DashedLine3DExtensions

public static class DashedLine3DExtensions
Inheritance
DashedLine3DExtensions

Methods

Color(ref DashedLine3D, Color?)

Set the color for this DashedLine3D.

public static ref DashedLine3D Color(this ref DashedLine3D @this, Color? color)

Parameters

this DashedLine3D
color Color?

Returns

DashedLine3D

Color(ref DashedLine3D, Color?, Color?)

Set the color for this DashedLine3D.

public static ref DashedLine3D Color(this ref DashedLine3D @this, Color? color1, Color? color2)

Parameters

this DashedLine3D
color1 Color?
color2 Color?

Returns

DashedLine3D

Dash(ref DashedLine3D, Dash)

The properties of the dash.

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

Parameters

this DashedLine3D
dash Dash

Returns

DashedLine3D

FaceCamera(ref DashedLine3D)

Make the visual always face the camera.

public static ref DashedLine3D FaceCamera(this ref DashedLine3D @this)

Parameters

this DashedLine3D

Returns

DashedLine3D

Facing(ref DashedLine3D, Facing)

Defines the normal of the plane the line will be drawn on.

public static ref DashedLine3D Facing(this ref DashedLine3D @this, Facing facing)

Parameters

this DashedLine3D
facing Facing

Returns

DashedLine3D

Position(ref DashedLine3D, float3, float3)

Set the position for this DashedLine3D.

public static ref DashedLine3D Position(this ref DashedLine3D @this, float3 p1, float3 p2)

Parameters

this DashedLine3D
p1 float3
p2 float3

Returns

DashedLine3D

Ref(DashedLine3D)

Returns a reference to the previously created DashedLine3D 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<DashedLine3D> Ref(this DashedLine3D @this)

Parameters

this DashedLine3D

Returns

VisualRef<DashedLine3D>

Rotation(ref DashedLine3D, float)

Sets the facing rotation an degrees.

public static ref DashedLine3D Rotation(this ref DashedLine3D @this, float rotation)

Parameters

this DashedLine3D
rotation float

Returns

DashedLine3D

SetDefault(ref DashedLine3D)

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

Parameters

this DashedLine3D

Returns

DashedLine3D

Width(ref DashedLine3D, Size)

The width of the line.

public static ref DashedLine3D Width(this ref DashedLine3D @this, Size width)

Parameters

this DashedLine3D
width Size

Returns

DashedLine3D