Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.Close
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.Close
Gets and sets an array of integers of the wind qualities on each LOD. Values will be clampped by bestWindQuality internally.
The available wind quality values are:
0 - Off.
1 - Fastest.
2 - Faster.
3 - Better.
4 - Best.
5 - Palm (only available on palm-like trees).
Because the higher wind qualities come with an increased performance cost, you may want assign higher quality wind effects to only the SpeedTree assets that are nearest to the player. You can use this feature to improve performance by using lower-quality wind effects on some of your less detailed LOD levels where the models are far enough away from the camera that the lower quality of this effect is not noticeable. The array length that you supply must match the number of LOD levels in your SpeedTree asset, and typically would have true values at the start, and false values at the end. For example, if your SpeedTree asset has 3 LOD levels, you might pass an array of
[ 4, 3, 2] to enable the "Best" wind effect on the nearest LOD level, the "Better" on the second LOD level, and "Faster" on the third and most distant LOD level.
Did you find this page useful? Please give it a rating: