Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UBlueprintFunctionLibrary
- UKismetMaterialLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMaterialLibrary.h |
Include | #include "Kismet/KismetMaterialLibrary.h" |
Syntax
class UKismetMaterialLibrary : public UBlueprintFunctionLibrary
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
UMaterialInstanceDynamic * | CreateDynamicMaterialInstance
(
UObject* WorldContextObject, |
Creates a Dynamic Material Instance which you can modify during gameplay. |
![]() ![]() |
float | GetScalarParameterValue
(
UObject* WorldContextObject, |
Gets a scalar parameter value from the material collection instance. |
![]() ![]() |
FLinearColor | GetVectorParameterValue
(
UObject* WorldContextObject, |
Gets a vector parameter value from the material collection instance. |
![]() ![]() |
void | SetScalarParameterValue
(
UObject* WorldContextObject, |
Sets a scalar parameter value on the material collection instance. |
![]() ![]() |
void | SetVectorParameterValue
(
UObject* WorldContextObject, |
Sets a vector parameter value on the material collection instance. |