PhysObj/GetVolume

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{Func |Name=GetVolume |Parent=PhysObj |Description=Returns the volume in source units³. |Realm=Shared |IsClass=Yes }} {{Ret |type=number |desc= volume }}")
 
Line 8: Line 8:
 
{{Ret
 
{{Ret
 
|type=number
 
|type=number
|desc= volume
+
|desc=The volume or nil if the PhysObj is a generated sphere or box.
 
}}
 
}}

Revision as of 01:13, 10 January 2020

 PhysObj:GetVolume( )

Description

Returns the volume in source units³.

Returns

number

The volume or nil if the PhysObj is a generated sphere or box.
Personal tools
Navigation