public Vertex3(Point3 p, ColorStyle c) { Position = p.XYZ; Color = c.Packed; TextureCoord = default; }
public static void DrawTextLine(this IScene3D dc, System.Numerics.Matrix4x4 xform, String text, ColorStyle color) { Fonts.FontDrawing.DrawFontAsLines(dc, xform, text, color); }
public Vertex3(Point3 p, ColorStyle c, Point2 t) { Position = p.XYZ; Color = c.Packed; TextureCoord = t.XY; }
bool _ISource <ColorStyle> .TrySetGlobalProperty(string name, ColorStyle value) { _SetPropertyValue(name, value); return(true); }
bool _ISource <ColorStyle> .TryGetGlobalProperty(string name, out ColorStyle val) { return(_TryGetPropertyValue(name, out val)); }
public _Tinted(IDrawingBrush <T> d, ColorStyle c) { _Drawable = d; _TintColor = c; }
public static IDrawingBrush <T> Tinted <T>(this IDrawingBrush <T> drawable, ColorStyle color) { return(new _Tinted <T>(drawable, color)); }