Table of Contents

Class Vector2D

Namespace
CounterStrikeSharp.API.Modules.Utils
Assembly
CounterStrikeSharp.API.dll
public class Vector2D : NativeObject
Inheritance
object
Vector2D
Inherited Members

Constructors

Vector2D(nint)

public Vector2D(nint pointer)

Parameters

pointer nint

Vector2D(float?, float?)

public Vector2D(float? x = null, float? y = null)

Parameters

x float?
y float?

Properties

X

public ref float X { get; }

Property Value

float

Y

public ref float Y { get; }

Property Value

float

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.