Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:FlaxEngine.Half2" /> structure.
 /// </summary>
 /// <param name="value">The value to set for both the X and Y components.</param>
 public Half2(float value)
 {
     X = (Half)value;
     Y = (Half)value;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:FlaxEngine.Half2" /> structure.
 /// </summary>
 /// <param name="value">The value to set for both the X and Y components.</param>
 public Half2(Half value)
 {
     X = value;
     Y = value;
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:FlaxEngine.Half2" /> structure.
 /// </summary>
 /// <param name="x">The X component.</param>
 /// <param name="y">The Y component.</param>
 public Half2(float x, float y)
 {
     X = (Half)x;
     Y = (Half)y;
 }
Beispiel #4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:FlaxEngine.Half2" /> structure.
 /// </summary>
 /// <param name="x">The X component.</param>
 /// <param name="y">The Y component.</param>
 public Half2(Half x, Half y)
 {
     X = x;
     Y = y;
 }
Beispiel #5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:FlaxEngine.Half3" /> structure.
 /// </summary>
 /// <param name="value">The value to set for the X, Y, and Z components.</param>
 public Half3(float value)
 {
     X = (Half)value;
     Y = (Half)value;
     Z = (Half)value;
 }
Beispiel #6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:FlaxEngine.Half3" /> structure.
 /// </summary>
 /// <param name="x">The X component.</param>
 /// <param name="y">The Y component.</param>
 /// <param name="z">The Z component.</param>
 public Half3(float x, float y, float z)
 {
     X = (Half)x;
     Y = (Half)y;
     Z = (Half)z;
 }
Beispiel #7
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:FlaxEngine.Half3" /> structure.
 /// </summary>
 /// <param name="value">The value to set for the X, Y, and Z components.</param>
 public Half3(Half value)
 {
     X = value;
     Y = value;
     Z = value;
 }
Beispiel #8
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:FlaxEngine.Half3" /> structure.
 /// </summary>
 /// <param name="x">The X component.</param>
 /// <param name="y">The Y component.</param>
 /// <param name="z">The Z component.</param>
 public Half3(Half x, Half y, Half z)
 {
     X = x;
     Y = y;
     Z = z;
 }