TINMAN 3D / REALTIME TERRAIN
Software Development Kit - User Manual

struct Wind in Tinman.AddOns.Components

struct Wind  

Public / Constants

Default

public static readonly field Default
type Wind

None

public static readonly field None
type Wind

Public / Attributes

Ambient

Relative strength of diffuse wind from everywhere, in the range [0..1].

public readonly field Ambient
type float32

Heading

Heading from where wind is blowing.

public readonly field Heading
type float32

Remarks:

The wind direction specified in light-space as s a longitude angle in degrees (see LightLongitude).

Strength

Relative strength of wind blowing from Heading, in the range [0..1].

public readonly field Strength
type float32

TimeStep

public property TimeStep { get }
type float32
value

Public / Constructors

Wind

public constructor Wind (float32 heading, float32 strength, float32 ambient)
params heading
  strength
  ambient

Public / Methods

ApplyState

public method ApplyState (WindState state, Mat3F lightSpace)
params state
  lightSpace

public method ApplyState (WindState state, IModel model)
params state
  model