Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionTransformPosition
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionTransformPosition.h |
| Include | #include "Materials/MaterialExpressionTransformPosition.h" |
Syntax
UCLASS (CollapseCategories, HideCategories=Object, MinimalAPI)
class UMaterialExpressionTransformPosition : public UMaterialExpression
Variables
| Type | Name | Description | |
|---|---|---|---|
| float | ConstPeriodicWorldTileSize | Only used if PeriodicWorldTileSize is not hooked up | |
| FExpressionInput | Input | Input expression for this transform | |
| FExpressionInput | PeriodicWorldTileSize | Scale of the tiles used in Periodic World Space | |
| TEnumAsByte< enum EMaterialPositionTransformSource > | TransformSourceType | Source format of the position that will be transformed | |
| TEnumAsByte< enum EMaterialPositionTransformSource > | TransformType | Type of transform to apply to the input expression |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionTransformPosition
(
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). | |
| FExpressionInput * | Returns the input at index InputIndex if valid, nullptr otherwise. | ||
| FName | GetInputName
(
int32 InputIndex |
||
| TArrayView< FExpressionInput * > |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |