Language:
Discover
By Skill Level
By Category

UWindDirectionalSourceComponent

Choose your OS:

Inheritance Hierarchy

Syntax

class UWindDirectionalSourceComponent : public USceneComponent

Remarks

Component that provides a directional wind source. Only affects SpeedTree assets.

Variables

Name Description

Public variable

uint32 : 1

 

bPointWind

Public variable

float

 

MaxGustAmount

Public variable

float

 

MinGustAmount

Public variable

float

 

Radius

Public variable

FWindSourceScen ...

 

SceneProxy

Public variable

float

 

Speed

Public variable

float

 

Strength

Constructors

Name Description

Public function

UWindDirectionalSourceComponent

(
    const FObjectInitializer & ObjectIn...
)

Functions

Name Description

Public function Virtual

FWindSourceS ...

 

CreateSceneProxy()

Creates a proxy to represent the primitive to the scene manager in the rendering thread.

Public function

[ENGINE_API](API\Runtime\Engine\AI\Navigation\ENGINE_API) b...

 

GetWindParameters

(
    const FVector & EvaluatePosition,
    FWindData & OutData,
    float& Weight
)

Calculate wind parameters from the data on this component, safe to call on game thread

Public function

void

 

SetMaximumGustAmount

(
    float InNewMaxGust
)

Set maximum deviation for wind gusts

Public function

void

 

SetMinimumGustAmount

(
    float InNewMinGust
)

Set minimum deviation for wind gusts

Public function

void

 

SetRadius

(
    float InNewRadius
)

Set the effect radius for point wind

Public function

void

 

SetSpeed

(
    float InNewSpeed
)

Sets the windspeed of the generated wind

Public function

void

 

SetStrength

(
    float InNewStrength
)

Because the actual data used to query wind is stored on the render thread in an instance of FWindSourceSceneProxy all of our properties are read only.

Public function

void

 

SetWindType

(
    EWindSourceType InNewType
)

Set the type of wind generator to use

Overridden from UActorComponent

Name Description

Protected function Virtual

void

 

Activate

(
    bool bReset
)

Activates the SceneComponent

Protected function Virtual

void

 

CreateRenderState_Concurrent()

Used to create any rendering thread information for this component

Protected function Virtual

void

 

Deactivate()

Deactivates the SceneComponent.

Protected function Virtual

void

 

DestroyRenderState_Concurrent()

Used to shut down any rendering thread structure for this component

Protected function Virtual

void

 

SendRenderDynamicData_Concurrent()

Called to send dynamic data for this component to the rendering thread

Protected function Virtual

void

 

SendRenderTransform_Concurrent()

Called to send a transform update for this component to the rendering thread

References

Module

Engine

Header

Runtime/Engine/Classes/Components/WindDirectionalSourceComponent.h