Class AxisExtensions
public static class AxisExtensions
- Inheritance
-
AxisExtensions
Methods
Color(ref Axis, Color?)
Set the color for this Axis.
public static ref Axis Color(this ref Axis @this, Color? color)
Parameters
Returns
Color(ref Axis, Color, Color, Color)
Set the color for this Axis.
public static ref Axis Color(this ref Axis @this, Color colorX, Color colorY, Color colorZ)
Parameters
Returns
Orientation(ref Axis, Orientation)
The orientation of the axis.
public static ref Axis Orientation(this ref Axis @this, Orientation orientation)
Parameters
thisAxisorientationOrientation
Returns
Position(ref Axis, float3)
Set the position for this Axis.
public static ref Axis Position(this ref Axis @this, float3 position)
Parameters
Returns
Ref(Axis)
Returns a reference to the previously created Axis 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<Axis> Ref(this Axis @this)
Parameters
thisAxis
Returns
SetDefault(ref Axis)
Side(ref Axis, AxisSide)
Controls whether an Axis points in bother directions from its center point, only in the positive, or only in the negative direction.
public static ref Axis Side(this ref Axis @this, AxisSide side)