Exemple #1
0
 public Vertex3(Point3 p, ColorStyle c)
 {
     Position     = p.XYZ;
     Color        = c.Packed;
     TextureCoord = default;
 }
Exemple #2
0
 public static void DrawTextLine(this IScene3D dc, System.Numerics.Matrix4x4 xform, String text, ColorStyle color)
 {
     Fonts.FontDrawing.DrawFontAsLines(dc, xform, text, color);
 }
Exemple #3
0
 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));
 }
Exemple #6
0
 public _Tinted(IDrawingBrush <T> d, ColorStyle c)
 {
     _Drawable  = d;
     _TintColor = c;
 }
Exemple #7
0
 public static IDrawingBrush <T> Tinted <T>(this IDrawingBrush <T> drawable, ColorStyle color)
 {
     return(new _Tinted <T>(drawable, color));
 }