UMaterialExpressionTextureSampleParameter2D::TextureIsValid

Return true if the texture is a movie texture

Windows
MacOS
Linux

Override Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionTextureSampleParameter2D.h

Include

#include "Materials/MaterialExpressionTextureSampleParameter2D.h"

Source

/Engine/Source/Runtime/Engine/Private/Materials/MaterialExpressions.cpp

Syntax

virtual bool TextureIsValid
(
    UTexture * InTexture,
    FString & OutMessage
)

Remarks

Return true if the texture is a movie texture

Returns

true/false

Parameters

Parameter

Description

InTexture

texture to test

OutMessage

if texture isn't valid, gives a description of the problem

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