Show / Hide Table of Contents

Struct TVec2f

A two-dimensional floating-point vector.

Namespace: Tanvas.TanvasTouch.Resources
Assembly: Tanvas.TanvasTouch.dll
Syntax
public struct TVec2f

Constructors

TVec2f(Single, Single)

Declaration
public TVec2f(float x, float y)
Parameters
Type Name Description
System.Single x
System.Single y

Fields

x

Declaration
public float x
Field Value
Type Description
System.Single

y

Declaration
public float y
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
Back to top Generated by DocFX