Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionTextureBase
- UMaterialExpressionTextureSample
- UMaterialExpressionTextureSampleParameter
- UMaterialExpressionTextureObjectParameter
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionTextureObjectParameter.h |
| Include | #include "Materials/MaterialExpressionTextureObjectParameter.h" |
Syntax
class UMaterialExpressionTextureObjectParameter : public UMaterialExpressionTextureSampleParameter
Remarks
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.
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionTextureObjectParameter
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpressionTextureSampleParameter
| Type | Name | Description | |
|---|---|---|---|
| bool | TextureIsValid
(
UTexture* InTexture, |
Return true if the texture is a movie texture |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | |
| int32 | CompilePreview
(
FMaterialCompiler* Compiler, |
||
| bool | GenerateHLSLExpression
(
FMaterialHLSLGenerator& Generator, |
||
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | |
| uint32 | GetOutputType
(
int32 InputIndex |