注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
cluster_00
Warning
The scope of applications for UnigineScript is limited to implementing materials-related logic (material expressions, scriptable materials, brush materials). Do not use UnigineScript as a language for application logic, please consider C#/C++ instead, as these APIs are the preferred ones. Availability of new Engine features in UnigineScript (beyond its scope of applications) is not guaranteed, as the current level of support assumes only fixing critical issues.
This article describes the data/samples/objects/cluster_00.cpp sample.
The cluster_00 sample demonstrates how to:
- Create a cluster of identical meshes by using the ObjectMeshCluster
- Set a material and property for surfaces of the meshes
See Also#
- Article on Mesh Cluster
- Functions of the ObjectMeshCluster class
The information on this page is valid for UNIGINE 2.19 SDK.
Last update:
2024-08-16
Help improve this article
(or select a word/phrase and press Ctrl+Enter)