-
Notifications
You must be signed in to change notification settings - Fork 0
Vector2I
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.Vector2I |
| Namespace | Electron2D |
| Kind | struct |
| Category | Math and Data |
Represents the vector2 i value type.
public struct Electron2D.Vector2I : System.IEquatable<Electron2D.Vector2I>This type is part of the Electron2D 0.1.0 Preview public API.
Instances of this type are not synchronized. Access them from the thread that owns the object unless the member documentation states otherwise.
This API is available since Electron2D 0.1.0 Preview.
| Member | Kind | Summary |
|---|---|---|
Down |
Field | Represents the down value. |
Left |
Field | Represents the left value. |
One |
Field | Represents the one value. |
Right |
Field | Represents the right value. |
Up |
Field | Represents the up value. |
Zero |
Field | Represents the zero value. |
X |
Property | Gets or sets the x value. |
Y |
Property | Gets or sets the y value. |
Electron2D.Vector2I(System.Int32, System.Int32) |
Constructor | Initializes a new instance of the Vector2I type. |
Abs() |
Method | Executes the abs operation. |
Aspect() |
Method | Executes the aspect operation. |
Clamp(Electron2D.Vector2I, Electron2D.Vector2I) |
Method | Executes the clamp operation. |
Equals(Electron2D.Vector2I) |
Method | Executes the equals operation. |
Equals(System.Object) |
Method | Executes the equals operation. |
GetHashCode() |
Method | Gets the hash code value. |
Length() |
Method | Executes the length operation. |
LengthSquared() |
Method | Executes the length squared operation. |
Max(Electron2D.Vector2I) |
Method | Executes the max operation. |
Min(Electron2D.Vector2I) |
Method | Executes the min operation. |
Sign() |
Method | Executes the sign operation. |
ToString() |
Method | Executes the to string operation. |
op_Addition(Electron2D.Vector2I, Electron2D.Vector2I) |
Method | Applies the + operator. |
op_Division(Electron2D.Vector2I, Electron2D.Vector2I) |
Method | Applies the / operator. |
op_Division(Electron2D.Vector2I, System.Int32) |
Method | Applies the / operator. |
op_Equality(Electron2D.Vector2I, Electron2D.Vector2I) |
Method | Applies the == operator. |
op_Explicit(Electron2D.Vector2) |
Method | Converts the supplied value to the target type. |
op_Implicit(Electron2D.Vector2I) |
Method | Converts the supplied value to the target type. |
op_Inequality(Electron2D.Vector2I, Electron2D.Vector2I) |
Method | Applies the != operator. |
op_Modulus(Electron2D.Vector2I, Electron2D.Vector2I) |
Method | Applies the % operator. |
op_Multiply(Electron2D.Vector2I, Electron2D.Vector2I) |
Method | Applies the * operator. |
op_Multiply(Electron2D.Vector2I, System.Int32) |
Method | Applies the * operator. |
op_Multiply(System.Int32, Electron2D.Vector2I) |
Method | Applies the * operator. |
op_Subtraction(Electron2D.Vector2I, Electron2D.Vector2I) |
Method | Applies the - operator. |
op_UnaryNegation(Electron2D.Vector2I) |
Method | Applies the - operator. |
Kind: Field
public static Electron2D.Vector2I DownRepresents the down value.
Use this field as a stable value supplied by the declaring type.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Field
public static Electron2D.Vector2I LeftRepresents the left value.
Use this field as a stable value supplied by the declaring type.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Field
public static Electron2D.Vector2I OneRepresents the one value.
Use this field as a stable value supplied by the declaring type.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Field
public static Electron2D.Vector2I RightRepresents the right value.
Use this field as a stable value supplied by the declaring type.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Field
public static Electron2D.Vector2I UpRepresents the up value.
Use this field as a stable value supplied by the declaring type.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Field
public static Electron2D.Vector2I ZeroRepresents the zero value.
Use this field as a stable value supplied by the declaring type.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Property
public System.Int32 X { get; set; }Gets or sets the x value.
This property follows the validation and lifetime rules of its declaring type.
The current x value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Property
public System.Int32 Y { get; set; }Gets or sets the y value.
This property follows the validation and lifetime rules of its declaring type.
The current y value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Constructor
public Electron2D.Vector2I(System.Int32 x, System.Int32 y)Initializes a new instance of the Vector2I type.
The new instance follows the lifetime and validation rules of its declaring type.
-
x: The X coordinate or component. -
y: The Y coordinate or component.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public Electron2D.Vector2I Abs()()Executes the abs operation.
This method follows the validation and lifetime rules of its declaring type.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public System.Single Aspect()()Executes the aspect operation.
This method follows the validation and lifetime rules of its declaring type.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public Electron2D.Vector2I Clamp(Electron2D.Vector2I, Electron2D.Vector2I)(Electron2D.Vector2I min, Electron2D.Vector2I max)Executes the clamp operation.
This method follows the validation and lifetime rules of its declaring type.
-
min: The min value. -
max: The max value.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public System.Boolean Equals(Electron2D.Vector2I)(Electron2D.Vector2I other)Executes the equals operation.
This method follows the validation and lifetime rules of its declaring type.
-
other: The other value.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public System.Boolean Equals(System.Object)(System.Object obj)Executes the equals operation.
This method follows the validation and lifetime rules of its declaring type.
-
obj: The obj value.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public System.Int32 GetHashCode()()Gets the hash code value.
This method follows the validation and lifetime rules of its declaring type.
The current hash code value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public System.Single Length()()Executes the length operation.
This method follows the validation and lifetime rules of its declaring type.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public System.Int32 LengthSquared()()Executes the length squared operation.
This method follows the validation and lifetime rules of its declaring type.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public Electron2D.Vector2I Max(Electron2D.Vector2I)(Electron2D.Vector2I with)Executes the max operation.
This method follows the validation and lifetime rules of its declaring type.
-
with: The with value.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public Electron2D.Vector2I Min(Electron2D.Vector2I)(Electron2D.Vector2I with)Executes the min operation.
This method follows the validation and lifetime rules of its declaring type.
-
with: The with value.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public Electron2D.Vector2I Sign()()Executes the sign operation.
This method follows the validation and lifetime rules of its declaring type.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public System.String ToString()()Executes the to string operation.
This method follows the validation and lifetime rules of its declaring type.
The result of the operation.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public static Electron2D.Vector2I op_Addition(Electron2D.Vector2I, Electron2D.Vector2I)(Electron2D.Vector2I left, Electron2D.Vector2I right)Applies the + operator.
This operator returns a value derived from the supplied operands.
-
left: The left value. -
right: The right value.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public static Electron2D.Vector2I op_Division(Electron2D.Vector2I, Electron2D.Vector2I)(Electron2D.Vector2I left, Electron2D.Vector2I right)Applies the / operator.
This operator returns a value derived from the supplied operands.
-
left: The left value. -
right: The right value.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public static Electron2D.Vector2I op_Division(Electron2D.Vector2I, System.Int32)(Electron2D.Vector2I value, System.Int32 scalar)Applies the / operator.
This operator returns a value derived from the supplied operands.
-
value: The value to use. -
scalar: The scalar value.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public static System.Boolean op_Equality(Electron2D.Vector2I, Electron2D.Vector2I)(Electron2D.Vector2I left, Electron2D.Vector2I right)Applies the == operator.
This operator returns a value derived from the supplied operands.
-
left: The left value. -
right: The right value.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public static Electron2D.Vector2I op_Explicit(Electron2D.Vector2)(Electron2D.Vector2 value)Converts the supplied value to the target type.
The conversion follows the validation rules of the source and target types.
-
value: The value to use.
The converted value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public static Electron2D.Vector2 op_Implicit(Electron2D.Vector2I)(Electron2D.Vector2I value)Converts the supplied value to the target type.
The conversion follows the validation rules of the source and target types.
-
value: The value to use.
The converted value.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public static System.Boolean op_Inequality(Electron2D.Vector2I, Electron2D.Vector2I)(Electron2D.Vector2I left, Electron2D.Vector2I right)Applies the != operator.
This operator returns a value derived from the supplied operands.
-
left: The left value. -
right: The right value.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public static Electron2D.Vector2I op_Modulus(Electron2D.Vector2I, Electron2D.Vector2I)(Electron2D.Vector2I left, Electron2D.Vector2I right)Applies the % operator.
This operator returns a value derived from the supplied operands.
-
left: The left value. -
right: The right value.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public static Electron2D.Vector2I op_Multiply(Electron2D.Vector2I, Electron2D.Vector2I)(Electron2D.Vector2I left, Electron2D.Vector2I right)Applies the * operator.
This operator returns a value derived from the supplied operands.
-
left: The left value. -
right: The right value.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public static Electron2D.Vector2I op_Multiply(Electron2D.Vector2I, System.Int32)(Electron2D.Vector2I value, System.Int32 scalar)Applies the * operator.
This operator returns a value derived from the supplied operands.
-
value: The value to use. -
scalar: The scalar value.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public static Electron2D.Vector2I op_Multiply(System.Int32, Electron2D.Vector2I)(System.Int32 scalar, Electron2D.Vector2I value)Applies the * operator.
This operator returns a value derived from the supplied operands.
-
scalar: The scalar value. -
value: The value to use.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public static Electron2D.Vector2I op_Subtraction(Electron2D.Vector2I, Electron2D.Vector2I)(Electron2D.Vector2I left, Electron2D.Vector2I right)Applies the - operator.
This operator returns a value derived from the supplied operands.
-
left: The left value. -
right: The right value.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Kind: Method
public static Electron2D.Vector2I op_UnaryNegation(Electron2D.Vector2I)(Electron2D.Vector2I value)Applies the - operator.
This operator returns a value derived from the supplied operands.
-
value: The value to use.
The result of the operator.
This member is not synchronized. Call it from the thread that owns the related object unless the declaring type states otherwise.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Vector2I
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.