Navigation
API > API/Runtime > API/Runtime/Engine
Node which creates a texture parameter and outputs the texture object itself, instead of sampling the texture first. This is used with material functions to implement texture parameters without actually putting the parameter in the function.
| Name | UMaterialExpressionTextureObjectParameter |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionTextureObjectParameter.h |
| Include Path | #include "Materials/MaterialExpressionTextureObjectParameter.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=(Object, MaterialExpressionTextureSample), MinimalAPI)
class UMaterialExpressionTextureObjectParameter : public UMaterialExpressionTextureSampleParameter
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionTextureBase → UMaterialExpressionTextureSample → UMaterialExpressionTextureSampleParameter → UMaterialExpressionTextureObjectParameter
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialExpressionTextureObjectParameter
(
const FObjectInitializer& ObjectInitializer |
Materials/MaterialExpressionTextureObjectParameter.h |
Functions
Public
Overridden from UMaterialExpressionTextureSampleParameter
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool TextureIsValid
(
UTexture* InTexture, |
Return true if the texture is a movie texture | Materials/MaterialExpressionTextureObjectParameter.h |
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void Build
(
MIR::FEmitter& Emitter |
Builds this expression's material IR. | Materials/MaterialExpressionTextureObjectParameter.h | |
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionTextureObjectParameter.h | |
virtual int32 CompilePreview
(
FMaterialCompiler* Compiler, |
Materials/MaterialExpressionTextureObjectParameter.h | ||
virtual void GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionTextureObjectParameter.h | |
virtual EMaterialValueType GetOutputValueType
(
int32 InputIndex |
Materials/MaterialExpressionTextureObjectParameter.h |