javier.serrano Posted October 17, 2017 Share Posted October 17, 2017 Hi, in the following link (https://developer.unigine.com/en/docs/2.5/api/library/objects/class.objectmeshcluster?rlang=usc) function setMaterial is missing but it appears in cluster_00.cpp samples for UnigineScript. Don't know if there are other functions missing Regards, javier Link to comment
fox Posted October 17, 2017 Share Posted October 17, 2017 Hi Javier! Thank you for the feedback! The method you were looking for (setMaterial) belongs to the Object class, which is a base class for the ObjectMeshCluster, so you can find it among the other methods of the Object class: https://developer.unigine.com/en/docs/2.5/api/library/objects/class.object?rlang=usc#setMaterial_cstr_int_int Best regards, Fox Link to comment
Recommended Posts