VisualU 1.2.1
Plugin for Unreal Engine 5 that brings core functionality for a widget-based visual novel game
 
Loading...
Searching...
No Matches
UME_TransitionParameter2D Class Reference

Material node for transition materials. More...

#include <ME_TransitionParameter2D.h>

Inheritance diagram for UME_TransitionParameter2D:

Public Member Functions

 UME_TransitionParameter2D (const FObjectInitializer &ObjectInitializer=FObjectInitializer::Get())
 

Static Public Member Functions

static UMaterialInstanceDynamic * GetTransitionMaterial (UMaterialInstanceDynamic *MaterialToChange, const TMap< FName, UTexture * > &Params)
 Applies given parameters to the provided dynamic material.
 

Public Attributes

bool bIsSecondTransition
 Whether or not this parameter node represents final sprite that should be visualized after transition ends.
 
FName AParameterName
 Transition begins with this sprite.
 
FName BParameterName
 Transition ends with this sprite.
 

Detailed Description

Material node for transition materials.

Represents either first (currently rendered), or second (final target) scene background in the material asset which serves as transition effect. Parameters are immutable in the node and can only be switched by UME_TransitionParameter2D::bIsSecondTransition. Parameter names, however can be changed in UVisualSettings for all transition parameter nodes.

Member Function Documentation

◆ GetTransitionMaterial()

UMaterialInstanceDynamic * UME_TransitionParameter2D::GetTransitionMaterial ( UMaterialInstanceDynamic * MaterialToChange,
const TMap< FName, UTexture * > & Params )
static

Applies given parameters to the provided dynamic material.

Parameters
MaterialToChangematerial that should render transition
Paramsparameters for the material instance
Returns
dynamic material instance with applied parameters

The documentation for this class was generated from the following files: