C# Class UnityEngine.StaticBatchingUtility

Inheritance: Object
ファイルを表示 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
Combine ( GameObject staticBatchRoot ) : void

StaticBatchingUtility.Combine prepares all children of the staticBatchRoot for static batching.

Combine ( GameObject gos, GameObject staticBatchRoot ) : void

StaticBatchingUtility.Combine prepares all gos for static batching. staticBatchRoot is treated as their parent.

Private Methods

Method Description
InternalCombineIndices ( MeshSubsetCombineUtility submeshes, [ combinedMesh ) : void
InternalCombineVertices ( MeshSubsetCombineUtility meshes, string meshName ) : Mesh

Method Details

Combine() public static method

StaticBatchingUtility.Combine prepares all children of the staticBatchRoot for static batching.

public static Combine ( GameObject staticBatchRoot ) : void
staticBatchRoot GameObject
return void

Combine() public static method

StaticBatchingUtility.Combine prepares all gos for static batching. staticBatchRoot is treated as their parent.

public static Combine ( GameObject gos, GameObject staticBatchRoot ) : void
gos GameObject
staticBatchRoot GameObject
return void