Skip to content

Shadow Decal

Introduction

Decal used to draw a shadow beneath a character when the character is in the air

Dependencies

The ShadowDecal relies on other components of this plugin to work:

  • Logger: Used to log useful information to help you debug any issues you might experience

API Reference

Functions

Name Description Params Return
Initialize Initialize the shadow decal OwnerCharacter (ACharacter*)
The character owning this shadow decal

Blueprint Usage

You can use the ShadowDecal using Blueprints by adding one of the following nodes:

  • Ultimate Starter Kit > Shadow Decal > Initialize

C++ Usage

Before you can use the plugin, you first need to enable the plugin in your Build.cs file:

PublicDependencyModuleNames.Add("USK");

The ShadowDecal can now be used in any of your C++ files:

#include "USK/Character/ShadowDecal.h"

void ATestActor::Test()
{
    // ShadowDecal is a pointer to the AShadowDecal
    ShadowDecal->Initialize(OwnerCharacter);
}