Navigation
API > API/Plugins > API/Plugins/Niagara
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNiagaraMergeable
- UNiagaraDataInterfaceBase
- UNiagaraDataInterface
- UNiagaraDataInterfaceVectorField
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterfaceVectorField.h |
| Include | #include "NiagaraDataInterfaceVectorField.h" |
Syntax
UCLASS (EditInlineNew, Category="Vector Field", CollapseCategories,
Meta=(DisplayName="Vector Field"), MinimalAPI)
class UNiagaraDataInterfaceVectorField : public UNiagaraDataInterface
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bTileX | ||
| bool | bTileY | ||
| bool | bTileZ | ||
| TObjectPtr< UVectorField > | Field | Vector field to sample from. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNiagaraDataInterfaceVectorField
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
BEGIN_SHADER_PARAMETER_STRUCT
(
FShaderParameters |
|||
| FVector | |||
| void | GetFieldBounds
(
FVectorVMExternalFunctionContext& Context |
||
| void | GetFieldDimensions
(
FVectorVMExternalFunctionContext& Context |
VM functions. | |
| void | GetFieldTilingAxes
(
FVectorVMExternalFunctionContext& Context |
||
| FVector | GetMaxBounds () |
||
| FVector | GetMinBounds () |
||
| FVector | |||
| void | LoadVectorField
(
FVectorVMExternalFunctionContext& Context |
||
| void | SampleVectorField
(
FVectorVMExternalFunctionContext& Context |
||
| TilingAxes | SHADER_PARAMETER
(
FVector3f, |
||
| TilingAxes MinBounds | SHADER_PARAMETER
(
FVector3f, |
||
| TilingAxes MinBounds Texture |
Overridden from UNiagaraDataInterface
| Type | Name | Description | |
|---|---|---|---|
| bool | AppendCompileHash
(
FNiagaraCompileHashVisitor* InVisitor |
GPU sim functionality. | |
| bool | CanExecuteOnTarget
(
ENiagaraSimTarget Target |
||
| bool | CopyToInternal
(
UNiagaraDataInterface* Destination |
||
| bool | Equals
(
const UNiagaraDataInterface* Other |
Determines if this DataInterface is the same as another. | |
| void | GetFeedback
(
UNiagaraSystem* InAsset, |
Editor functionality. | |
| bool | GetFunctionHLSL
(
const FNiagaraDataInterfaceGPUParamInfo& ParamInfo, |
||
| void | GetFunctionsInternal
(
TArray< FNiagaraFunctionSignature >& OutFunctions |
||
| void | GetParameterDefinitionHLSL
(
const FNiagaraDataInterfaceGPUParamInfo& ParamInfo, |
||
| void | GetVMExternalFunction
(
const FVMExternalFunctionBindingInfo& BindingInfo, |
VM functionality. | |
| void | |||
| void | SetShaderParameters
(
const FNiagaraDataInterfaceSetShaderParametersContext& Context |
Set the shader parameters will only be called if the data interface provided shader parameters. |
Overridden from UNiagaraDataInterfaceBase
| Type | Name | Description | |
|---|---|---|---|
| void | BuildShaderParameters
(
FNiagaraShaderParametersBuilder& ShaderParametersBuilder |
Override this method to provide parameters to the GPU (SRV / UAV / Constants / etc) The most common usage will be to provide a single structure which is nested with other parameters. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally | |
| void | Called after the C++ constructor and after the properties have been initialized, including those loaded from config. | ||
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. | |
| void | PreEditChange
(
FProperty* PropertyAboutToChange |
This is called when a property is about to be modified externally |