Dota 2 Workshop Tools/Scripting/API/Vector.Length: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Dota_Lebot push: Updated Page)
 
(No difference)

Revision as of 16:50, 13 August 2014

Note.pngNote: This page is automatically generated. Any changes may be overwritten

Function Description

float length()

Length of the Vector


Example
a = Vec(1, 0, 0)
len = a:length()

Returns

float - Length of the Vector