Navigation
API > API/Plugins > API/Plugins/Niagara
Data Interface allowing sampling of a Landscape
| Name | UNiagaraDataInterfaceLandscape |
| Type | class |
| Header File | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterfaceLandscape.h |
| Include Path | #include "NiagaraDataInterfaceLandscape.h" |
Syntax
UCLASS (EditInlineNew, Category="Landscape", CollapseCategories,
Meta=(DisplayName="Landscape Sample"), MinimalAPI)
class UNiagaraDataInterfaceLandscape : public UNiagaraDataInterface
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UNiagaraNotifyOnChanged → UNiagaraDataInterfaceBase → UNiagaraDataInterface → UNiagaraDataInterfaceLandscape
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UNiagaraDataInterfaceLandscape
(
const FObjectInitializer& ObjectInitializer |
NiagaraDataInterfaceLandscape.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bVirtualTexturesSupported | bool | Can be used to ignore virtual textures even if they are defined for the landscape. | NiagaraDataInterfaceLandscape.h |
|
| PhysicalMaterials | TArray< TObjectPtr< UPhysicalMaterial > > | NiagaraDataInterfaceLandscape.h |
|
|
| SourceLandscape | TObjectPtr< AActor > | NiagaraDataInterfaceLandscape.h |
|
|
| SourceMode | ENDILandscape_SourceMode | NiagaraDataInterfaceLandscape.h |
|
Functions
Public
Overridden from UNiagaraDataInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool AppendCompileHash
(
FNiagaraCompileHashVisitor* InVisitor |
Allows the generic class defaults version of this class to specify any dependencies/version/etc that might invalidate the compile. | NiagaraDataInterfaceLandscape.h | |
virtual bool CanExecuteOnTarget
(
ENiagaraSimTarget Target |
NiagaraDataInterfaceLandscape.h | ||
virtual void DestroyPerInstanceData
(
void* PerInstanceData, |
Destroys the per instance data for this interface. | NiagaraDataInterfaceLandscape.h | |
virtual bool Equals
(
const UNiagaraDataInterface* Other |
Determines if this DataInterface is the same as another. | NiagaraDataInterfaceLandscape.h | |
virtual bool GetFunctionHLSL
(
const FNiagaraDataInterfaceGPUParamInfo& ParamInfo, |
NiagaraDataInterfaceLandscape.h | ||
virtual void GetParameterDefinitionHLSL
(
const FNiagaraDataInterfaceGPUParamInfo& ParamInfo, |
GPU sim functionality. | NiagaraDataInterfaceLandscape.h | |
virtual void GetVMExternalFunction
(
const FVMExternalFunctionBindingInfo& BindingInfo, |
Returns the delegate for the passed function signature. | NiagaraDataInterfaceLandscape.h | |
virtual bool HasPreSimulateTick() |
NiagaraDataInterfaceLandscape.h | ||
virtual bool InitPerInstanceData
(
void* PerInstanceData, |
Initializes the per instance data for this interface. | NiagaraDataInterfaceLandscape.h | |
virtual int32 PerInstanceDataSize () |
Returns the size of the per instance data for this interface. | NiagaraDataInterfaceLandscape.h | |
virtual bool PerInstanceTick
(
void* PerInstanceData, |
Ticks the per instance data for this interface, if it has any. | NiagaraDataInterfaceLandscape.h | |
virtual void ProvidePerInstanceDataForRenderThread
(
void* DataForRenderThread, |
Subclasses that wish to work with GPU systems/emitters must implement this. | NiagaraDataInterfaceLandscape.h | |
virtual void SetShaderParameters
(
const FNiagaraDataInterfaceSetShaderParametersContext& Context |
Set the shader parameters will only be called if the data interface provided shader parameters. | NiagaraDataInterfaceLandscape.h | |
virtual bool UpgradeFunctionCall
(
FNiagaraFunctionSignature& FunctionSignature |
Allows data interfaces the opportunity to rename / change the function signature and perform an upgrade. | NiagaraDataInterfaceLandscape.h |
Overridden from UNiagaraDataInterfaceBase
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BuildShaderParameters
(
FNiagaraShaderParametersBuilder& ShaderParametersBuilder |
NiagaraDataInterfaceLandscape.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void PostInitProperties() |
NiagaraDataInterfaceLandscape.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void ApplyLandscape
(
const FNiagaraSystemInstance& SystemInstance, |
NiagaraDataInterfaceLandscape.h | ||
ALandscape * GetLandscape
(
const FNiagaraSystemInstance& SystemInstance, |
NiagaraDataInterfaceLandscape.h | ||
void VMGenerateRvtFeedback
(
FVectorVMExternalFunctionContext& Context |
NiagaraDataInterfaceLandscape.h |
Overridden from UNiagaraDataInterface
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual bool CopyToInternal
(
UNiagaraDataInterface* Destination |
NiagaraDataInterfaceLandscape.h | ||
virtual void GetFunctionsInternal
(
TArray< FNiagaraFunctionSignature >& OutFunctions |
NiagaraDataInterfaceLandscape.h |