StaticBatchingUtility.Combine 合并

static function Combine (staticBatchRoot : GameObject) : void

Description描述

Combine will prepare all children of the staticBatchRoot for static batching.

合并将准备staticBatchRoot的所有子物体用于静态批处理。

Once combined children can NOT change their Transform properties, however staticBatchRoot can be moved.

一旦合并的子物体不能改变它们的变换属性,当时staticBatchRoot可以被移动。

• static function Combine (gos : GameObject[], staticBatchRoot : GameObject) : void

Description描述

Combine will prepare all gos for the static batching. staticBatchRoot will be treated as their parent.

合并将准备所有gos用于今天批处理。staticBatchRoot将被视为它们的父级。

Once combined gos can NOT change their Transform properties, however staticBatchRoot can be moved.

一旦合并的子物体不能改变它们的变换属性,当时staticBatchRoot可以被移动。

Page last updated: 2011-3-25