# Cannot set Material parameter collection default values as the functions are private. 

**URL:** <https://forums.unrealengine.com/t/cannot-set-material-parameter-collection-default-values-as-the-functions-are-private/2659418>\
**Category:** Editor Scripting\
**Tags:** unreal-engine, Epic-Pro-Support, question\
**Created:** [August 25, 2025, 3:09pm UTC](https://forums.unrealengine.com/t/cannot-set-material-parameter-collection-default-values-as-the-functions-are-private/2659418 "2025-08-25T15:09:41Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [August 25, 2025, 3:09pm UTC](https://forums.unrealengine.com/t/cannot-set-material-parameter-collection-default-values-as-the-functions-are-private/2659418/1 "2025-08-25T15:09:41Z")

</div>

I am making a tool, which needs to modify the default values of a material parameter collection , which does not seem currently possible because the following function inside of MaterialParameterCollection.h are private :

- SetScalarParameterDefaultValueByInfo()
- SetScalarParameterDefaultValue()
- SetVectorParameterDefaultValueByInfo()
- SetVectorParameterDefaultValue()

Is there any other way to achieve the desired result without changing the above functions to public? If not, would it be possible to switch them to public in a future engine release?

---

<div class="post-metadata">

**Author:** ![ffabian.bl](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ffabian.bl](https://forums.unrealengine.com/u/ffabian.bl)\
**Post date:** [August 25, 2025, 10:43pm UTC](https://forums.unrealengine.com/t/cannot-set-material-parameter-collection-default-values-as-the-functions-are-private/2659418/2 "2025-08-25T22:43:35Z")

</div>

Hello [mention removed]​,

The functions you mentioned are already publicly accessible in the UE5 main stream (or ue5-main on GitHub), with the public specifier added to UMaterialParameterCollection. This change was introduced in CL 43188168 - MaterialParameterCollection Extension.

You can expect this to be available in future releases like UE 5.7.

Please let me know if this information helps.

Best,

Francisco

---

<div class="post-metadata">

**Author:** ![anonymous-edc](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous-edc](https://forums.unrealengine.com/u/anonymous-edc)\
**Post date:** [August 26, 2025, 1:30pm UTC](https://forums.unrealengine.com/t/cannot-set-material-parameter-collection-default-values-as-the-functions-are-private/2659418/3 "2025-08-26T13:30:35Z")

</div>

Thank you [mention removed]​ ! This answers my question!
