Forest Library Wind Functions

The CForest object provides convenience functions for controlling the wind for all of the base trees without having to access each tree separately. The functions include:

You can still set an individual base tree's wind parameters by querying a CTree's CWind object and setting its parameters directly. All of a CTree's instances share this wind object. Each will have its own slight variation of the wind, as provided by the wind shader's usage of the tree's position as a unique numerical identifier. However, all of the wind parameters set for the base tree in the Modeler application will remain the same across all its instances.