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

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

Revision as of 23:50, 13 August 2014

Note: 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