Struct TVec2f
A two-dimensional floating-point vector.
Assembly: Tanvas.TanvasTouch.dll
Syntax
Constructors
TVec2f(Single, Single)
Declaration
public TVec2f(float x, float y)
Parameters
| Type |
Name |
Description |
| System.Single |
x |
|
| System.Single |
y |
|
Fields
x
Declaration
Field Value
| Type |
Description |
| System.Single |
|
y
Declaration
Field Value
| Type |
Description |
| System.Single |
|
Methods
Equals(Object)
Check if two objects are TVec2fs and have the same coordinate values.
Declaration
public override bool Equals(object obj)
Parameters
| Type |
Name |
Description |
| System.Object |
obj |
|
Returns
| Type |
Description |
| System.Boolean |
True if the two objects are TVec2fs and have equal coordinates,
false otherwise.
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
| Type |
Description |
| System.Int32 |
|