arzezniczak Posted December 18, 2018 Share Posted December 18, 2018 Hello, I would like to change from C++ API in ObjectGrass its "spawn rate" but I don't see any setter function for it, just "getSpawnCount" getter.https://developer.unigine.com/en/docs/2.7.2/objects/objects/grass/settings "Spawn Sets the number of cells rendered each frame. The higher the spawn rate, the more likely a performance spike will occur." Link to comment
silent Posted December 19, 2018 Share Posted December 19, 2018 arzezniczak There is no setter because you can't affect this value directly (it's basically a simple counter of how many grasses are spawned per frame). You can affect it by changing other ObjectGrass parameters (like density and step). Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN Link to comment
Recommended Posts