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
thisDashedLine3DcolorColor?
Returns
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
thisDashedLine3Dcolor1Color?color2Color?
Returns
Dash(ref DashedLine3D, Dash)
The properties of the dash.
public static ref DashedLine3D Dash(this ref DashedLine3D @this, Dash dash)
Parameters
thisDashedLine3DdashDash
Returns
FaceCamera(ref DashedLine3D)
Make the visual always face the camera.
public static ref DashedLine3D FaceCamera(this ref DashedLine3D @this)
Parameters
thisDashedLine3D
Returns
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
thisDashedLine3DfacingFacing
Returns
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
thisDashedLine3Dp1float3p2float3
Returns
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
thisDashedLine3D
Returns
Rotation(ref DashedLine3D, float)
Sets the facing rotation an degrees.
public static ref DashedLine3D Rotation(this ref DashedLine3D @this, float rotation)
Parameters
thisDashedLine3Drotationfloat
Returns
SetDefault(ref DashedLine3D)
public static ref DashedLine3D SetDefault(this ref DashedLine3D @this)
Parameters
thisDashedLine3D
Returns
Width(ref DashedLine3D, Size)
The width of the line.
public static ref DashedLine3D Width(this ref DashedLine3D @this, Size width)
Parameters
thisDashedLine3DwidthSize