WindZone
Wind Zones add realism to the trees you create by making them wave their branches and leaves as if blown by the wind.
Read time 6 minutesLast updated 2 days ago
Definition
- Type: Class
- Namespace: UnityEngine
- Assembly: UnityEngine.WindModule
- Inherits from: Component
public class WindZone : Component
Remarks
Note: This only works with trees created by the tree creator or imported from SpeedTree Modeler.
Properties
Property | Description |
|---|---|
| mode | Defines the type of wind zone to be used (Spherical or Directional). |
| radius | Radius of the Spherical Wind Zone (only active if the WindZoneMode is set to Spherical). |
| windMain | The primary wind force. |
| windPulseFrequency | Defines the frequency of the wind changes. |
| windPulseMagnitude | Defines how much the wind changes over time. |
| windTurbulence | The turbulence wind force. |
Inheritance
Operators
Operator | Description |
|---|---|
| operator == | Compares two object references to see if they refer to the same object. |
| bool | Determines whether the object exists. |
| operator != | Compares if two objects refer to a different object. |