CreateStaticGeometry()
语法
Result = CreateStaticGeometry(#StaticGeometry, Width, Height, Length, EnableShadows)概要
Create an empty static geometry.
参数
#StaticGeometry A number to identify the new static geometry will be identified. #PB_Any can be used to auto-generate this number. Width Width (in world unit) of the static geometry. Height Height (in world unit) of the static geometry. Length Length (in world unit) of the static geometry. EnableShadows Enables or disables dynamic shadows casting on the static geometry. Set to #True to enable it, #False otherwise.
返回值
Returns nonzero if the static geometry has been successfully created and zero if not. If #PB_Any was used for the #StaticGeometry parameter then the generated number is returned on success.
Remarks
If previously another static geometry was loaded with the same #StaticGeometry number, then this older static geometry will be automatically freed when creating the new one.
参阅
FreeStaticGeometry()
已支持操作系统
所有