s&
About
The Project
info
About s&box
map
Roadmap
monitoring
Metrics
Engine startup and usage numbers
Updates
newspaper
Latest News
published_with_changes
Changes
Release-by-release changelog
Games
Browse Games
Discover Games
gamejams
live now
Game Jam III
Ends
Fri 25 Sep
Theme
One More Round
The jam is running. Build something, or play the entries.
£
50,000
prizepool
View the jam
Workshop
Playable
sports_esports
Games
Standalone games and gamemodes
Assets
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
apps
Everything
Every asset type in one list
Forum
Learn
Documentation
rocket_launch
Getting Started
docs
Documentation
api
API Reference
Resources
school
Tutorials
manage_search
Code Search
input
Log in with Steam
Api
Classes
Vector2Int
IsNearlyZero
chevron_left
Classes
struct
Vector2Int
Constructors
functions
Vector2Int
Fields
crop_din
x
crop_din
y
Properties
data_object
Degrees
data_object
IsZeroLength
data_object
Item
data_object
Length
data_object
LengthSquared
data_object
Normal
data_object
Perpendicular
Methods
functions
Abs
functions
ComponentMax
functions
ComponentMin
functions
Distance
functions
IsNearlyZero
functions
Read
functions
SnapToGrid
functions
WithX
functions
WithY
functions
Write
Static Fields
crop_din
Down
crop_din
Left
crop_din
One
crop_din
Right
crop_din
Up
crop_din
Zero
Static Methods
functions
Max
functions
Min
functions
Parse
functions
TryParse
IsNearlyZero
Returns true if value on every axis is less than or equal to tolerance
method
bool
IsNearlyZero
(
int
tolerance
)
Parameters
Name
Type
Description
tolerance
= 0
int
Returns
Type
Description
bool
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.