Navigation
API > API/Runtime > API/Runtime/Engine
Material expresions to sample the global field
| Name | UMaterialExpressionSamplePhysicsVectorField |
| Type | class |
| Header File | /Engine/Source/Runtime/Engine/Public/Materials/MaterialExpressionSamplePhysicsField.h |
| Include Path | #include "Materials/MaterialExpressionSamplePhysicsField.h" |
Syntax
UCLASS ()
class UMaterialExpressionSamplePhysicsVectorField : public UMaterialExpression
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UMaterialExpression → UMaterialExpressionSamplePhysicsVectorField
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| FieldTarget | TEnumAsByte< EFieldVectorType > | Target Type to be accessed | Materials/MaterialExpressionSamplePhysicsField.h |
|
| WorldPosition | FExpressionInput | Materials/MaterialExpressionSamplePhysicsField.h |
|
|
| WorldPositionOriginType | EPositionOrigin | Defines the reference space for the WorldPosition input. | Materials/MaterialExpressionSamplePhysicsField.h |
|
Functions
Public
Overridden from UMaterialExpression
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual int32 Compile
(
FMaterialCompiler* Compiler, |
Create the new shader code chunk needed for the Abs expression | Materials/MaterialExpressionSamplePhysicsField.h | |
| Returns the text to display on the material expression (in the material editor). | Materials/MaterialExpressionSamplePhysicsField.h | ||
virtual FName GetInputName
(
int32 InputIndex |
Materials/MaterialExpressionSamplePhysicsField.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Materials/MaterialExpressionSamplePhysicsField.h |