Skip to content
This repository was archived by the owner on May 3, 2019. It is now read-only.

Commit d54591f

Browse files
committed
DEPRECATED Get Material Instance
1 parent ed08f89 commit d54591f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

Source/Blu/Public/BluEye.h

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,12 @@ class BLU_API UBluEye : public UObject
9494
UFUNCTION(BlueprintCallable, Category = "Blu")
9595
UTexture2D* GetTexture() const;
9696

97-
/** Material instance that contains texture inside it */
98-
UFUNCTION(BlueprintCallable, Category = "Blu")
97+
/**
98+
* Material instance that contains texture inside it
99+
* @deprecated Please use raw texture using GetTexture method. GetMaterialInstance will be removed in the next release!
100+
*/
101+
DEPRECATED(4.8, "Please use raw texture using GetTexture method. GetMaterialInstance will be removed in the next release!")
102+
UFUNCTION(BlueprintCallable, Category = "Blu", meta = (DeprecatedFunction, DeprecatedNode, DeprecationMessage = "Please use raw texture using GetTexture method. GetMaterialInstance will be removed in the next release!"))
99103
UMaterialInstanceDynamic* GetMaterialInstance() const;
100104

101105
/** Execute JS code inside the browser */

0 commit comments

Comments
 (0)