Exemplo n.º 1
0
 public EaseF(string s)
 {
     string[] strings = s.Split(' ');
     Dir   = GenericMarshal.StringTo <int>(strings[0]);
     Type  = GenericMarshal.StringTo <int>(strings[1]);
     Param = GenericMarshal.StringTo <float[]>(strings[2]);
 }
Exemplo n.º 2
0
 public BoolVector(string s)
 {
     string[] strings = s.Split(' ');
     ElementCount = GenericMarshal.StringTo <uint>(strings[0]);
     ArraySize    = GenericMarshal.StringTo <uint>(strings[1]);
     Array        = GenericMarshal.StringTo <bool[]>(strings[2]);
 }
Exemplo n.º 3
0
 public Polyhedron(string s)
 {
     string[] strings = s.Split(' ');
     PointList = GenericMarshal.StringTo <Point3FVector>(strings[0]);
     PlaneList = GenericMarshal.StringTo <PlaneFVector>(strings[1]);
     EdgeList  = GenericMarshal.StringTo <EdgeVector>(strings[2]);
 }
Exemplo n.º 4
0
 public TransformF(string s)
 {
     string[] strings = s.Split(' ');
     Position    = GenericMarshal.StringTo <Point3F>(string.Join(' ', strings.Skip(0).Take(3)));
     Orientation = GenericMarshal.StringTo <AngAxisF>(string.Join(' ', strings.Skip(3).Take(4)));
     HasRotation = GenericMarshal.StringTo <bool>(string.Join(' ', strings.Skip(7).Take(1)));
 }
Exemplo n.º 5
0
 public TransformF(string s)
 {
     string[] strings = s.Split(' ');
     Position    = GenericMarshal.StringTo <Point3F>(strings[0]);
     Orientation = GenericMarshal.StringTo <AngAxisF>(strings[1]);
     HasRotation = GenericMarshal.StringTo <bool>(strings[2]);
 }
Exemplo n.º 6
0
 public Point3I(string s)
 {
     string[] strings = s.Split(' ');
     X = GenericMarshal.StringTo <int>(strings[0]);
     Y = GenericMarshal.StringTo <int>(strings[1]);
     Z = GenericMarshal.StringTo <int>(strings[2]);
 }
Exemplo n.º 7
0
 public EaseF(string s)
 {
     string[] strings = s.Split(' ');
     Dir   = GenericMarshal.StringTo <int>(string.Join(' ', strings.Skip(0).Take(1)));
     Type  = GenericMarshal.StringTo <int>(string.Join(' ', strings.Skip(1).Take(1)));
     Param = GenericMarshal.StringTo <float[]>(string.Join(' ', strings.Skip(2).Take(1)));
 }
Exemplo n.º 8
0
 public BoolVector(string s)
 {
     string[] strings = s.Split(' ');
     ElementCount = GenericMarshal.StringTo <uint>(string.Join(' ', strings.Skip(0).Take(1)));
     ArraySize    = GenericMarshal.StringTo <uint>(string.Join(' ', strings.Skip(1).Take(1)));
     Array        = GenericMarshal.StringTo <bool[]>(string.Join(' ', strings.Skip(2).Take(1)));
 }
Exemplo n.º 9
0
 public Polyhedron(string s)
 {
     string[] strings = s.Split(' ');
     PointList = GenericMarshal.StringTo <Point3FVector>(string.Join(' ', strings.Skip(0).Take(3)));
     PlaneList = GenericMarshal.StringTo <PlaneFVector>(string.Join(' ', strings.Skip(3).Take(3)));
     EdgeList  = GenericMarshal.StringTo <EdgeVector>(string.Join(' ', strings.Skip(6).Take(3)));
 }
Exemplo n.º 10
0
 public Point3I(string s)
 {
     string[] strings = s.Split(' ');
     X = GenericMarshal.StringTo <int>(string.Join(' ', strings.Skip(0).Take(1)));
     Y = GenericMarshal.StringTo <int>(string.Join(' ', strings.Skip(1).Take(1)));
     Z = GenericMarshal.StringTo <int>(string.Join(' ', strings.Skip(2).Take(1)));
 }
Exemplo n.º 11
0
 public RectSpacingI(string s)
 {
     string[] strings = s.Split(' ');
     LeftPadding   = GenericMarshal.StringTo <int>(strings[0]);
     RightPadding  = GenericMarshal.StringTo <int>(strings[1]);
     TopPadding    = GenericMarshal.StringTo <int>(strings[2]);
     BottomPadding = GenericMarshal.StringTo <int>(strings[3]);
 }
Exemplo n.º 12
0
 public RectSpacingI(string s)
 {
     string[] strings = s.Split(' ');
     LeftPadding   = GenericMarshal.StringTo <int>(string.Join(' ', strings.Skip(0).Take(1)));
     RightPadding  = GenericMarshal.StringTo <int>(string.Join(' ', strings.Skip(1).Take(1)));
     TopPadding    = GenericMarshal.StringTo <int>(string.Join(' ', strings.Skip(2).Take(1)));
     BottomPadding = GenericMarshal.StringTo <int>(string.Join(' ', strings.Skip(3).Take(1)));
 }
Exemplo n.º 13
0
 public ColorI(string s)
 {
     string[] strings = s.Split(' ');
     Red   = GenericMarshal.StringTo <byte>(strings[0]);
     Green = GenericMarshal.StringTo <byte>(strings[1]);
     Blue  = GenericMarshal.StringTo <byte>(strings[2]);
     Alpha = GenericMarshal.StringTo <byte>(strings[3]);
 }
Exemplo n.º 14
0
 public ColorI(string s)
 {
     string[] strings = s.Split(' ');
     Red   = GenericMarshal.StringTo <byte>(string.Join(' ', strings.Skip(0).Take(1)));
     Green = GenericMarshal.StringTo <byte>(string.Join(' ', strings.Skip(1).Take(1)));
     Blue  = GenericMarshal.StringTo <byte>(string.Join(' ', strings.Skip(2).Take(1)));
     Alpha = GenericMarshal.StringTo <byte>(string.Join(' ', strings.Skip(3).Take(1)));
 }
Exemplo n.º 15
0
 public PlaneF(string s)
 {
     string[] strings = s.Split(' ');
     X = GenericMarshal.StringTo <float>(string.Join(' ', strings.Skip(0).Take(1)));
     Y = GenericMarshal.StringTo <float>(string.Join(' ', strings.Skip(1).Take(1)));
     Z = GenericMarshal.StringTo <float>(string.Join(' ', strings.Skip(2).Take(1)));
     D = GenericMarshal.StringTo <float>(string.Join(' ', strings.Skip(3).Take(1)));
 }
Exemplo n.º 16
0
 public LinearColorF(string s)
 {
     string[] strings = s.Split(' ');
     Red   = GenericMarshal.StringTo <float>(strings[0]);
     Green = GenericMarshal.StringTo <float>(strings[1]);
     Blue  = GenericMarshal.StringTo <float>(strings[2]);
     Alpha = GenericMarshal.StringTo <float>(strings[3]);
 }
Exemplo n.º 17
0
 public Point4F(string s)
 {
     string[] strings = s.Split(' ');
     X = GenericMarshal.StringTo <float>(strings[0]);
     Y = GenericMarshal.StringTo <float>(strings[1]);
     Z = GenericMarshal.StringTo <float>(strings[2]);
     W = GenericMarshal.StringTo <float>(strings[3]);
 }
Exemplo n.º 18
0
 public UUID(string s)
 {
     string[] strings = s.Split(' ');
     A = GenericMarshal.StringTo <uint>(strings[0]);
     B = GenericMarshal.StringTo <ushort>(strings[1]);
     C = GenericMarshal.StringTo <ushort>(strings[2]);
     D = GenericMarshal.StringTo <byte>(strings[3]);
     E = GenericMarshal.StringTo <byte>(strings[4]);
     F = GenericMarshal.StringTo <byte[]>(strings[5]);
 }
Exemplo n.º 19
0
 public GFXVideoMode(string s)
 {
     string[] strings = s.Split(' ');
     Resolution     = GenericMarshal.StringTo <Point2I>(string.Join(' ', strings.Skip(0).Take(2)));
     BitDepth       = GenericMarshal.StringTo <uint>(string.Join(' ', strings.Skip(2).Take(1)));
     RefreshRate    = GenericMarshal.StringTo <uint>(string.Join(' ', strings.Skip(3).Take(1)));
     FullScreen     = GenericMarshal.StringTo <bool>(string.Join(' ', strings.Skip(4).Take(1)));
     WideScreen     = GenericMarshal.StringTo <bool>(string.Join(' ', strings.Skip(5).Take(1)));
     AntialiasLevel = GenericMarshal.StringTo <uint>(string.Join(' ', strings.Skip(6).Take(1)));
 }
Exemplo n.º 20
0
 public GFXVideoMode(string s)
 {
     string[] strings = s.Split(' ');
     Resolution     = GenericMarshal.StringTo <Point2I>(strings[0]);
     BitDepth       = GenericMarshal.StringTo <uint>(strings[1]);
     RefreshRate    = GenericMarshal.StringTo <uint>(strings[2]);
     FullScreen     = GenericMarshal.StringTo <bool>(strings[3]);
     WideScreen     = GenericMarshal.StringTo <bool>(strings[4]);
     AntialiasLevel = GenericMarshal.StringTo <uint>(strings[5]);
 }
Exemplo n.º 21
0
 public UUID(string s)
 {
     string[] strings = s.Split(' ');
     A = GenericMarshal.StringTo <uint>(string.Join(' ', strings.Skip(0).Take(1)));
     B = GenericMarshal.StringTo <ushort>(string.Join(' ', strings.Skip(1).Take(1)));
     C = GenericMarshal.StringTo <ushort>(string.Join(' ', strings.Skip(2).Take(1)));
     D = GenericMarshal.StringTo <byte>(string.Join(' ', strings.Skip(3).Take(1)));
     E = GenericMarshal.StringTo <byte>(string.Join(' ', strings.Skip(4).Take(1)));
     F = GenericMarshal.StringTo <byte[]>(string.Join(' ', strings.Skip(5).Take(1)));
 }
Exemplo n.º 22
0
 public Edge(string s)
 {
     string[] strings = s.Split(' ');
     Face   = GenericMarshal.StringTo <uint[]>(string.Join(' ', strings.Skip(0).Take(1)));
     Vertex = GenericMarshal.StringTo <uint[]>(string.Join(' ', strings.Skip(1).Take(1)));
 }
Exemplo n.º 23
0
 public static bool EditorIsActive()
 {
     return(GenericMarshal.StringTo <bool>(Global.Call("EditorIsActive")));
 }
Exemplo n.º 24
0
 public RectI(string s)
 {
     string[] strings = s.Split(' ');
     Point  = GenericMarshal.StringTo <Point2I>(strings[0]);
     Extent = GenericMarshal.StringTo <Point2I>(strings[1]);
 }
Exemplo n.º 25
0
 public MatrixF(string s)
 {
     string[] strings = s.Split(' ');
     M = GenericMarshal.StringTo <float[]>(strings[0]);
 }
Exemplo n.º 26
0
 public AngAxisF(string s)
 {
     string[] strings = s.Split(' ');
     Axis  = GenericMarshal.StringTo <Point3F>(strings[0]);
     Angle = GenericMarshal.StringTo <float>(strings[1]);
 }
Exemplo n.º 27
0
 public AngAxisF(string s)
 {
     string[] strings = s.Split(' ');
     Axis  = GenericMarshal.StringTo <Point3F>(string.Join(' ', strings.Skip(0).Take(3)));
     Angle = GenericMarshal.StringTo <float>(string.Join(' ', strings.Skip(3).Take(1)));
 }
Exemplo n.º 28
0
 public MatrixF(string s)
 {
     string[] strings = s.Split(' ');
     M = GenericMarshal.StringTo <float[]>(string.Join(' ', strings.Skip(0).Take(1)));
 }
Exemplo n.º 29
0
 public Box3F(string s)
 {
     string[] strings = s.Split(' ');
     MinExtents = GenericMarshal.StringTo <Point3F>(strings[0]);
     MaxExtents = GenericMarshal.StringTo <Point3F>(strings[1]);
 }
Exemplo n.º 30
0
 public RectI(string s)
 {
     string[] strings = s.Split(' ');
     Point  = GenericMarshal.StringTo <Point2I>(string.Join(' ', strings.Skip(0).Take(2)));
     Extent = GenericMarshal.StringTo <Point2I>(string.Join(' ', strings.Skip(2).Take(2)));
 }