UBlueprintMaterialTextureNodesBPLibrary

Function library class.

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UBlueprintFunctionLibrary

UBlueprintMaterialTextureNodesBPLibrary

References

Module

BlueprintMaterialTextureNodes

Header

/Engine/Plugins/Editor/BlueprintMaterialTextureNodes/Source/BlueprintMaterialTextureNodes/Public/BlueprintMaterialTextureNodesBPLibrary.h

Include

#include "BlueprintMaterialTextureNodesBPLibrary.h"

Syntax

[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UBlueprintMaterialTextureNodesBPLibrary : public UBlueprintFunctionLibrary

Remarks

Function library class. Each function in it is expected to be static and represents blueprint node that can be called in any blueprint.

When declaring function you can define metadata for the node. Key function specifiers will be BlueprintPure and BlueprintCallable. BlueprintPure - means the function does not affect the owning object in any way and thus creates a node without Exec pins. BlueprintCallable - makes a function which can be executed in Blueprints - Thus it has Exec pins. DisplayName - full name of the node, shown when you mouse over the node and in the blueprint drop down menu. Its lets you name the node using characters not allowed in C++ function names. CompactNodeTitle - the word(s) that appear on the node. Keywords - the list of keywords that helps you to find node when you search for it using Blueprint drop-down menu. Good example is "Print String" node which you can find also by using keyword "log". Category - the category your node will be under in the Blueprint drop-down menu.

For more info on custom blueprint nodes visit documentation: https://wiki.unrealengine.com/Custom_Blueprint_Node_Creation

Constructors

Name Description

Public function

UBlueprintMaterialTextureNodesBPLibrary

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Static UFunction BlueprintCallable, Category, Meta

UMaterialIns...

 

CreateMIC_EditorOnly

(
    UMaterialInterface* Material,
    FString Name
)

Creates a new Material Instance Constant asset Only works in the editor

Public function Static UFunction BlueprintPure, Category, Meta

TArray< FLin...

 

RenderTarget_SampleRectangle_EditorOnly

(
    UTextureRenderTarget2D* InRend...,
    FLinearColor InRect
)

Samples an array of values from a Texture Render Target 2D.

Public function Static UFunction BlueprintPure, Category, Meta

FLinearColor

 

RenderTarget_SampleUV_EditorOnly

(
    UTextureRenderTarget2D* InRend...,
    FVector2D UV
)

Samples a value from a Texture Render Target 2D.

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

SetMICBlendMode_EditorOnly

(
    UMaterialInstanceConstant* Mat...,
    TEnumAsByte< EBlendMode > BlendMode
)

Overrides the Blend Mode of a Material Instance Constant Only works in the editor

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

SetMICDitheredLODTransition_EditorOnly

(
    UMaterialInstanceConstant* Mat...,
    bool DitheredLODTransition
)

Overrides the Blend Mode of a Material Instance Constant Only works in the editor

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

SetMICScalarParam_EditorOnly

(
    UMaterialInstanceConstant* Mat...,
    FString ParamName,
    float Value
)

Sets a Scalar Parameter value in a Material Instance Constant Only works in the editor

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

SetMICShadingModel_EditorOnly

Overrides the Shading Model of a Material Instance Constant Only works in the editor

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

SetMICTextureParam_EditorOnly

(
    UMaterialInstanceConstant* Mat...,
    FString ParamName,
    UTexture2D* Texture
)

Sets a Texture Parameter value in a Material Instance Constant Only works in the editor

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

SetMICTwoSided_EditorOnly

(
    UMaterialInstanceConstant* Mat...,
    bool TwoSided
)

Overrides the Two Sided setting of a Material Instance Constant Only works in the editor

Public function Static UFunction BlueprintCallable, Category, Meta

bool

 

SetMICVectorParam_EditorOnly

(
    UMaterialInstanceConstant* Mat...,
    FString ParamName,
    FLinearColor Value
)

Sets a Vector Parameter value in a Material Instance Constant Only works in the editor

Public function Static UFunction BlueprintPure, Category, Meta

FLinearColor

 

Texture2D_SampleUV_EditorOnly

(
    UTexture2D* Texture,
    FVector2D UV
)

Samples a texel from a Texture 2D with VectorDisplacement Compression

Public function Static UFunction

void

 

UpdateMIC

(
    UMaterialInstanceConstant* MIC
)

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss