Click or drag to resize

WeatherMakerWindProfileScript Class

Wind profile script, contains all fields for configuring wind
Inheritance Hierarchy
SystemObject
  Object
    ScriptableObject
      DigitalRuby.WeatherMakerWeatherMakerBaseScriptableObjectScript
        DigitalRuby.WeatherMakerWeatherMakerWindProfileScript

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
[SerializableAttribute]
public class WeatherMakerWindProfileScript : WeatherMakerBaseScriptableObjectScript

The WeatherMakerWindProfileScript type exposes the following members.

Constructors
  NameDescription
Public methodWeatherMakerWindProfileScript
Initializes a new instance of the WeatherMakerWindProfileScript class
Top
Properties
  NameDescription
Public propertyhideFlags

Should the object be hidden, saved with the scene or modifiable by the user?

(Inherited from Object.)
Public propertyname

The name of the object.

(Inherited from Object.)
Top
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetInstanceID

Returns the instance id of the object.

(Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodInitialize
Initialize
(Inherited from WeatherMakerBaseScriptableObjectScript.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodOnDestroy
OnDestroy
(Inherited from WeatherMakerBaseScriptableObjectScript.)
Public methodOnDisable
OnDisable
(Inherited from WeatherMakerBaseScriptableObjectScript.)
Public methodOnEnable
OnEnable
(Inherited from WeatherMakerBaseScriptableObjectScript.)
Public methodSetDirty Obsolete. (Inherited from ScriptableObject.)
Public methodToString

Returns the name of the GameObject.

(Inherited from Object.)
Public methodUpdate
Update
(Inherited from WeatherMakerBaseScriptableObjectScript.)
Top
Fields
  NameDescription
Public fieldAllowBlowUp
Whether random wind can blow upwards. Default is false.
Public fieldAutoWindIntensity
Whether to re-calculate wind intensity when wind changes. Default is true.
Public fieldDisabled
Whether this object is disabled
(Inherited from WeatherMakerBaseScriptableObjectScript.)
Public fieldFogVelocityMultiplier
How much the wind affects fog velocity, 0 for none.
Public fieldWindAudioClip
The wind sound to play. Null for default.
Public fieldWindChangeDuration
How fast the wind changes once a change is begun. Set to 0 for instant change.
Public fieldWindChangeInterval
How often the wind speed and direction changes (minimum and maximum change interval in seconds). Set to 0 for no change.
Public fieldWindChangeRotationDurationPercent
Random percent of total transition duration that is spent changing the wind rotation. Lower values rotate the wind faster.
Public fieldWindMainMultiplier
Multiply the wind zone wind main by this value.
Public fieldWindMaximumChangeRotation
The maximum rotation the wind can change in degrees. For 2D, non-zero means random wind left or right.
Public fieldWindPulseFrequencyRange
Wind pulse frequency range - set to a maximum of 0 for no random pulse frequency.
Public fieldWindPulseMagnitudeRange
Wind pulse magnitude range - set to a maximum of 0 for no random pulse magnitude.
Public fieldWindSoundMultiplier
Additional sound volume multiplier for the wind
Public fieldWindSpeedRange
The range of wind speed intensities. The wind zone wind main is set to WindIntensity * MaximumWindSpeed * WindMainMultiplier.
Public fieldWindTurbulenceRange
Wind turbulence range - set to a maximum 0 for no random turbulence.
Top
Extension Methods
  NameDescription
Public Extension MethodCachedName
Get cached name
(Defined by WeatherMakerObjectExtensions.)
Public Extension MethodSetCachedName
Put name in the cache
(Defined by WeatherMakerObjectExtensions.)
Top
See Also