# Why cant i acces UDecalComponents functions?

**URL:** <https://forums.unrealengine.com/t/why-cant-i-acces-udecalcomponents-functions/301798>\
**Category:** Rendering\
**Tags:** unreal-engine, Decals, CPP, question\
**Created:** [December 17, 2014, 12:27am UTC](https://forums.unrealengine.com/t/why-cant-i-acces-udecalcomponents-functions/301798 "2014-12-17T00:27:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lordconstant](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lordconstant](https://forums.unrealengine.com/u/lordconstant)\
**Post date:** [December 17, 2014, 12:27am UTC](https://forums.unrealengine.com/t/why-cant-i-acces-udecalcomponents-functions/301798/1 "2014-12-17T00:27:36Z")

</div>

I am trying to change the color of a material on my decal and i am having trouble getting any of the UDecalComponent parameters to show up.

 ![24284-decal+problem.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/6/7/4/67471cbef45d8344b7318cd9e4c5d683bbfcb5d0.jpeg)

---

<div class="post-metadata">

**Author:** ![lordconstant](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lordconstant](https://forums.unrealengine.com/u/lordconstant)\
**Post date:** [December 17, 2014, 1:00pm UTC](https://forums.unrealengine.com/t/why-cant-i-acces-udecalcomponents-functions/301798/2 "2014-12-17T13:00:29Z")

</div>

I opened a different project and it had the functions available but mine doesnt

---

<div class="post-metadata">

**Author:** ![lordconstant](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@lordconstant](https://forums.unrealengine.com/u/lordconstant)\
**Post date:** [December 20, 2014, 4:30pm UTC](https://forums.unrealengine.com/t/why-cant-i-acces-udecalcomponents-functions/301798/3 "2014-12-20T16:30:12Z")

</div>

managed to resolve the issue, needed to include the correct file through its folder path:

#include “Classes/Components/DecalComponent.h”
