Show / Hide Table of Contents

Class Vector

Defines a vector with two components.

Inheritance
System.Object
Vector
Namespace: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public class Vector : object

Constructors

Vector()

Create an empty Vector.

Declaration
public Vector()

Vector(Point)

Create a Vector from a Point.

Declaration
public Vector(Point p)
Parameters
Type Name Description
Point p

The Point to create the Vector from.

Vector(Single, Single)

Create a Vector from an (x, y) set.

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

The x-value

System.Single y

The y-value

Properties

X

The x-value of this Vector.

Declaration
public float X { get; set; }
Property Value
Type Description
System.Single

Y

The y-value of this Vector.

Declaration
public float Y { get; set; }
Property Value
Type Description
System.Single
Back to top © 2020 Anarkis Gaming. All rights reserved. Generated by DocFX