Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Materials
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UMaterialExpression
- UMaterialExpressionSamplePhysicsVectorField
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Materials/MaterialExpressionSamplePhysicsField.h |
| Include | #include "Materials/MaterialExpressionSamplePhysicsField.h" |
Syntax
UCLASS ()
class UMaterialExpressionSamplePhysicsVectorField : public UMaterialExpression
Remarks
Material expresions to sample the global field
Variables
| Type | Name | Description | |
|---|---|---|---|
| TEnumAsByte< EFieldVectorType > | FieldTarget | Target Type to be accessed | |
| FExpressionInput | WorldPosition | ||
| EPositionOrigin | WorldPositionOriginType | Defines the reference space for the WorldPosition input. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UMaterialExpressionSamplePhysicsVectorField
(
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). | |
| FName | GetInputName
(
int32 InputIndex |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |