s&
family_starAbout
newspaperBlog
published_with_changesChanges
gamesGames
business_centerWorkshop
sprintDashboard
sprintGame Charts
delivery_truck_speedMap Charts
forumForum
docsDocs
docsDocumentation
dashboardApi Reference
inputLog in with Steam
chevron_leftChange Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية

Constructors

functionsVector2Int

Fields

crop_dinx
crop_diny

Properties

data_objectDegrees
data_objectIsZeroLength
data_objectItem
data_objectLength
data_objectLengthSquared
data_objectNormal
data_objectPerpendicular

Methods

functionsAbs
functionsComponentMax
functionsComponentMin
functionsDistance
functionsIsNearlyZero
functionsRead
functionsSnapToGrid
functionsWithX
functionsWithY
functionsWrite

Static Fields

crop_dinDown
crop_dinLeft
crop_dinOne
crop_dinRight
crop_dinUp
crop_dinZero

Static Methods

functionsMax
functionsMin
functionsParse
functionsTryParse
menu
Api
Classes
Vector2Int
LengthSquared

int LengthSquared { get; set; }

Summary

Squared length of the integer vector. This is faster than Vector2Int.Length, and can be used for things like comparing distances, as long as only squared values are used."/>
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
  • News
  • About
  • Docs
  • FAQ
  • Forum
  • Discord
  • Twitter