Class TriangleExtensions
public static class TriangleExtensions
- Inheritance
-
TriangleExtensions
Methods
Color(ref Triangle, Color?)
Set the color for this Triangle.
public static ref Triangle Color(this ref Triangle @this, Color? color)
Parameters
Returns
Color(ref Triangle, Color?, Color?, Color?)
Set the color for this Triangle.
public static ref Triangle Color(this ref Triangle @this, Color? color1, Color? color2, Color? color3)
Parameters
Returns
Position(ref Triangle, float3, float3, float3)
Set the position for this Triangle.
public static ref Triangle Position(this ref Triangle @this, float3 p1, float3 p2, float3 p3)
Parameters
Returns
Ref(Triangle)
Returns a reference to the previously created Triangle 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<Triangle> Ref(this Triangle @this)
Parameters
thisTriangle