Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionTextureCoordinate
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionTextureCoordinate.h |
| Include | #include "Materials/MaterialExpressionTextureCoordinate.h" |
Syntax
class UMaterialExpressionTextureCoordinate : public UMaterialExpression
Variables
| Type | Name | Description | |
|---|---|---|---|
| int32 | CoordinateIndex | Texture coordinate index | |
| uint32: 1 | UnMirrorU | Would like to unmirror U or V | |
| uint32: 1 | UnMirrorV | ||
| float | UTiling | Controls how much the texture tiles horizontally, by scaling the U component of the vertex UVs by the specified amount. | |
| float | VTiling | Controls how much the texture tiles vertically, by scaling the V component of the vertex UVs by the specified amount. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionTextureCoordinate
(
const FObjectInitializer& ObjectInitializer |
Overridden from UMaterialExpression
| Type | Name | Description | |
|---|---|---|---|
| int32 | Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | |
| bool | GenerateHLSLExpression
(
FMaterialHLSLGenerator& Generator, |
||
| void | GetCaption
(
TArray< FString >& OutCaptions |
Returns the text to display on the material expression (in the material editor). | |
| FText | GetKeywords () |
Returns the keywords that should be used when searching for this expression | |
| bool | MatchesSearchQuery
(
const TCHAR* SearchQuery |
MatchesSearchQuery: Check this expression to see if it matches the search query |