Model | |
public static class ModelOptimizer
The ModelOptimizer type exposes the following members.
| Name | Description | |
|---|---|---|
| AutoGenerateModelNames | When true (by default) then the names of the combined MeshModelNodes are automatically generated from the names of the used ModelNodes (using CombinedNamesSymbol between names; plus symbol by default). If the combined name is longer than MaxAutoGenerateModelNameLength then the name is not generated. | |
| MaxAutoGenerateModelNameLength | Defines an integer that defines the maximum length of the automatically generated name for the combined MeshModelNode. |
| Name | Description | |
|---|---|---|
| Optimize | Optimizes the models in the specified GroupNode and returns a new GroupNode with optimized models. Child SceneNodes that cannot be optimized (LineNodes, etc.) are copied to the new GroupNode. This method also flattens the hierarchy of the children. |
| Name | Description | |
|---|---|---|
| CombinedNamesSymbol | Defines the character that is used when combining names. Plus symbol is used by default. |