コード例 #1
0
ファイル: Vertex3.cs プロジェクト: vpenades/InteropTypes
 public Vertex3(Point3 p, ColorStyle c)
 {
     Position     = p.XYZ;
     Color        = c.Packed;
     TextureCoord = default;
 }
コード例 #2
0
 public static void DrawTextLine(this IScene3D dc, System.Numerics.Matrix4x4 xform, String text, ColorStyle color)
 {
     Fonts.FontDrawing.DrawFontAsLines(dc, xform, text, color);
 }
コード例 #3
0
ファイル: Vertex3.cs プロジェクト: vpenades/InteropTypes
 public Vertex3(Point3 p, ColorStyle c, Point2 t)
 {
     Position     = p.XYZ;
     Color        = c.Packed;
     TextureCoord = t.XY;
 }
コード例 #4
0
 bool _ISource <ColorStyle> .TrySetGlobalProperty(string name, ColorStyle value)
 {
     _SetPropertyValue(name, value);
     return(true);
 }
コード例 #5
0
 bool _ISource <ColorStyle> .TryGetGlobalProperty(string name, out ColorStyle val)
 {
     return(_TryGetPropertyValue(name, out val));
 }
コード例 #6
0
ファイル: Toolkit3D.cs プロジェクト: vpenades/InteropTypes
 public _Tinted(IDrawingBrush <T> d, ColorStyle c)
 {
     _Drawable  = d;
     _TintColor = c;
 }
コード例 #7
0
ファイル: Toolkit3D.cs プロジェクト: vpenades/InteropTypes
 public static IDrawingBrush <T> Tinted <T>(this IDrawingBrush <T> drawable, ColorStyle color)
 {
     return(new _Tinted <T>(drawable, color));
 }