-
Notifications
You must be signed in to change notification settings - Fork 0
Transform2D
Home | API by Category | Complete API Index | API Compatibility
| Field | Value |
|---|---|
| Full name | Electron2D.Transform2D |
| Namespace | Electron2D |
| Kind | struct |
| Category | Math and Data |
Represents the transform2 d value type.
public struct Electron2D.Transform2D : System.IEquatable<Electron2D.Transform2D>Profile: Electron2D 0.1.0 2D
Status: Partial / Not verified
Out of profile: yes
Godot reference: Transform2D
2D basis/origin transform baseline with point transforms, composition and inverse.
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 |
|---|---|---|
FlipX |
Field | Represents the flip x value. |
FlipY |
Field | Represents the flip y value. |
Identity |
Field | Represents the identity value. |
Origin |
Property | Gets or sets the origin value. |
X |
Property | Gets or sets the x value. |
Y |
Property | Gets or sets the y value. |
Electron2D.Transform2D(Electron2D.Vector2, Electron2D.Vector2, Electron2D.Vector2) |
Constructor | Initializes a new instance of the Transform2D type. |
Electron2D.Transform2D(System.Single, Electron2D.Vector2) |
Constructor | Initializes a new instance of the Transform2D type. |
Electron2D.Transform2D(System.Single, System.Single, System.Single, System.Single, System.Single, System.Single) |
Constructor | Initializes a new instance of the Transform2D type. |
AffineInverse() |
Method | Executes the affine inverse operation. |
BasisXform(Electron2D.Vector2) |
Method | Executes the basis xform operation. |
Determinant() |
Method | Executes the determinant operation. |
Equals(Electron2D.Transform2D) |
Method | Executes the equals operation. |
Equals(System.Object) |
Method | Executes the equals operation. |
GetHashCode() |
Method | Gets the hash code value. |
Inverse() |
Method | Executes the inverse operation. |
IsEqualApprox(Electron2D.Transform2D) |
Method | Checks whether equal approx is true. |
IsFinite() |
Method | Checks whether finite is true. |
Rotated(System.Single) |
Method | Executes the rotated operation. |
Scaled(Electron2D.Vector2) |
Method | Executes the scaled operation. |
ToString() |
Method | Executes the to string operation. |
Translated(Electron2D.Vector2) |
Method | Executes the translated operation. |
Xform(Electron2D.Vector2) |
Method | Executes the xform operation. |
op_Equality(Electron2D.Transform2D, Electron2D.Transform2D) |
Method | Applies the == operator. |
op_Inequality(Electron2D.Transform2D, Electron2D.Transform2D) |
Method | Applies the != operator. |
op_Multiply(Electron2D.Transform2D, Electron2D.Rect2) |
Method | Applies the * operator. |
op_Multiply(Electron2D.Transform2D, Electron2D.Transform2D) |
Method | Applies the * operator. |
op_Multiply(Electron2D.Transform2D, Electron2D.Vector2) |
Method | Applies the * operator. |
Kind: Field
public static Electron2D.Transform2D FlipXRepresents the flip x value.
Use this field as a stable value supplied by the declaring type.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Transform2D
Kind: Field
public static Electron2D.Transform2D FlipYRepresents the flip y value.
Use this field as a stable value supplied by the declaring type.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Transform2D
Kind: Field
public static Electron2D.Transform2D IdentityRepresents the identity value.
Use this field as a stable value supplied by the declaring type.
This API is available since Electron2D 0.1.0 Preview.
Electron2D.Transform2D
Kind: Property
public Electron2D.Vector2 Origin { get; set; }Gets or sets the origin value.
This property follows the validation and lifetime rules of its declaring type.
The current origin 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.Transform2D
Kind: Property
public Electron2D.Vector2 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.Transform2D
Kind: Property
public Electron2D.Vector2 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.Transform2D
Kind: Constructor
public Electron2D.Transform2D(Electron2D.Vector2 xAxis, Electron2D.Vector2 yAxis, Electron2D.Vector2 origin)Initializes a new instance of the Transform2D type.
The new instance follows the lifetime and validation rules of its declaring type.
-
xAxis: The x axis value. -
yAxis: The y axis value. -
origin: The origin 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.Transform2D
Kind: Constructor
public Electron2D.Transform2D(System.Single rotation, Electron2D.Vector2 origin)Initializes a new instance of the Transform2D type.
The new instance follows the lifetime and validation rules of its declaring type.
-
rotation: The rotation value. -
origin: The origin 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.Transform2D
Electron2D.Transform2D(System.Single, System.Single, System.Single, System.Single, System.Single, System.Single)
Kind: Constructor
public Electron2D.Transform2D(System.Single xx, System.Single xy, System.Single yx, System.Single yy, System.Single ox, System.Single oy)Initializes a new instance of the Transform2D type.
The new instance follows the lifetime and validation rules of its declaring type.
-
xx: The xx value. -
xy: The xy value. -
yx: The yx value. -
yy: The yy value. -
ox: The ox value. -
oy: The oy 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.Transform2D
Kind: Method
public Electron2D.Transform2D AffineInverse()()Executes the affine inverse 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.Transform2D
Kind: Method
public Electron2D.Vector2 BasisXform(Electron2D.Vector2)(Electron2D.Vector2 value)Executes the basis xform operation.
This method follows the validation and lifetime rules of its declaring type.
-
value: The value to use.
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.Transform2D
Kind: Method
public System.Single Determinant()()Executes the determinant 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.Transform2D
Kind: Method
public System.Boolean Equals(Electron2D.Transform2D)(Electron2D.Transform2D 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.Transform2D
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.Transform2D
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.Transform2D
Kind: Method
public Electron2D.Transform2D Inverse()()Executes the inverse 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.Transform2D
Kind: Method
public System.Boolean IsEqualApprox(Electron2D.Transform2D)(Electron2D.Transform2D transform)Checks whether equal approx is true.
This method follows the validation and lifetime rules of its declaring type.
-
transform: The transform value.
true when the condition is met; otherwise, false.
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.Transform2D
Kind: Method
public System.Boolean IsFinite()()Checks whether finite is true.
This method follows the validation and lifetime rules of its declaring type.
true when the condition is met; otherwise, false.
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.Transform2D
Kind: Method
public Electron2D.Transform2D Rotated(System.Single)(System.Single angle)Executes the rotated operation.
This method follows the validation and lifetime rules of its declaring type.
-
angle: The angle 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.Transform2D
Kind: Method
public Electron2D.Transform2D Scaled(Electron2D.Vector2)(Electron2D.Vector2 scale)Executes the scaled operation.
This method follows the validation and lifetime rules of its declaring type.
-
scale: The scale 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.Transform2D
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.Transform2D
Kind: Method
public Electron2D.Transform2D Translated(Electron2D.Vector2)(Electron2D.Vector2 offset)Executes the translated operation.
This method follows the validation and lifetime rules of its declaring type.
-
offset: The offset 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.Transform2D
Kind: Method
public Electron2D.Vector2 Xform(Electron2D.Vector2)(Electron2D.Vector2 value)Executes the xform operation.
This method follows the validation and lifetime rules of its declaring type.
-
value: The value to use.
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.Transform2D
Kind: Method
public static System.Boolean op_Equality(Electron2D.Transform2D, Electron2D.Transform2D)(Electron2D.Transform2D left, Electron2D.Transform2D 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.Transform2D
Kind: Method
public static System.Boolean op_Inequality(Electron2D.Transform2D, Electron2D.Transform2D)(Electron2D.Transform2D left, Electron2D.Transform2D 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.Transform2D
Kind: Method
public static Electron2D.Rect2 op_Multiply(Electron2D.Transform2D, Electron2D.Rect2)(Electron2D.Transform2D transform, Electron2D.Rect2 rect)Applies the * operator.
This operator returns a value derived from the supplied operands.
-
transform: The transform value. -
rect: The rect 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.Transform2D
Kind: Method
public static Electron2D.Transform2D op_Multiply(Electron2D.Transform2D, Electron2D.Transform2D)(Electron2D.Transform2D left, Electron2D.Transform2D 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.Transform2D
Kind: Method
public static Electron2D.Vector2 op_Multiply(Electron2D.Transform2D, Electron2D.Vector2)(Electron2D.Transform2D transform, Electron2D.Vector2 vector)Applies the * operator.
This operator returns a value derived from the supplied operands.
-
transform: The transform value. -
vector: The vector 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.Transform2D
Electron2D 0.1.0 Preview API reference. Generated from 175 public runtime types.