AddStaticGeometryEntity()
语法
AddStaticGeometryEntity(#StaticGeometry, EntityID, x, y, z [, ScaleX, ScaleY, ScaleZ [, RotationX, RotationY, RotationZ]])概要
Add an entity to the specified #StaticGeometry. The original entity is left untouched by this function and can be freed after the add. The same entity can be added multiple time.
参数
#StaticGeometry StaticGeometry to use. EntityID The EntityID of the entity to add to the static geometry. x, y, z The position of the entity in the static geometry. ScaleX (optional) The 'x' scale factor to apply to the added entity. ScaleY (optional) The 'y" scale factor to apply to the added entity. ScaleZ (optional) The 'z" scale factor to apply to the added entity. RotationX (optional) The 'x' rotation to apply to the added entity. RotationY (optional) The 'y' rotation to apply to the added entity. RotationZ (optional) The 'z' rotation to apply to the added entity.
返回值
无.
Remarks
Once all the entities have been added, the command BuildStaticGeometry() has to be called to generate the static geometry.
参阅
CreateStaticGeometry(), BuildStaticGeometry()
已支持操作系统
所有