FWaterIconHelper::EnsureSpriteComponentCreated

Ensures a billboard component is created and added to the actor's components.

Choose your operating system:

Windows

macOS

Linux

References

Module

Water

Header

/Engine/Plugins/Experimental/Water/Source/Runtime/Public/WaterIconHelper.h

Include

#include "WaterIconHelper.h"

Syntax

template<typename ActorType>
static UBillboardComponent * EnsureSpriteComponentCreated
(
    ActorType * Actor,
    const TCHAR * InIconTextureName
)

Remarks

Ensures a billboard component is created and added to the actor's components.