武装突袭 Wiki
Advertisement
  

点击图片可看到更多讯息

开始使用于

游戏:
Armed Assault
版本:
1.08

描述

描述:
Returns the diameter of bounding sphere of the object of given type in meters. Size returned is usually bigger than the biggest size of the object along any of the axes. For example if object is 10 x 4 x 5 the sizeOf value returned expected to be around 10. If you need to estimate the size of the object more precisely, use boundingBox or boundingBoxReal. NOTE: The object has to be present in current mission to be able to read its size (otherwise zero will be returned).

基本句法

句法:
Number = sizeOf type
参数:
type: String
返回值:
Number

范例

范例1:
_dimension = sizeOf "M1Abrams"; //returns 10.7833

额外资讯

多人游戏:
-
也可以看看:
boundingBoxboundingBoxRealboundingCenter

注意事项

此处撰写句法皆为可行用法. 可到官网[1]专页回报错误. 你可以使用讨论页面或是论坛来进行讨论.
新增注意事项 | 如何新增?

Notes

Bottom Section

Advertisement