Navigation
API > API/Plugins > API/Plugins/Niagara
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNiagaraMergeable
- UNiagaraDataInterfaceBase
- UNiagaraDataInterface
- UNiagaraDataInterfaceMeshRendererInfo
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterfaceMeshRendererInfo.h |
| Include | #include "NiagaraDataInterfaceMeshRendererInfo.h" |
Syntax
UCLASS&40;EditInlineNew, Category&61;"Mesh Particles", CollapseCategories,
Meta&61;&40;DisplayName&61;"Mesh Renderer Info"&41;, MinimalAPI&41;
class UNiagaraDataInterfaceMeshRendererInfo : public UNiagaraDataInterface
Remarks
This Data Interface can be used to query information about the mesh renderers of an emitter
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< FMeshData > | CachedMeshData | ||
| TObjectPtr< UNiagaraMeshRendererProperties > | MeshRenderer | The name of the mesh renderer | |
| FDelegateHandle | OnMeshRendererChangedHandle |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNiagaraDataInterfaceMeshRendererInfo
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UNiagaraMeshRendererProperties * | |||
| void | OnMeshRendererChanged
(
UNiagaraMeshRendererProperties* NewMeshRenderer |
||
| void | |||
| void | VMGetMeshLocalBounds
(
FVectorVMExternalFunctionContext& Context |
||
| void | VMGetNumMeshes
(
FVectorVMExternalFunctionContext& Context |
||
| void | VMGetSubUVDetails
(
FVectorVMExternalFunctionContext& Context |
Overridden from UNiagaraDataInterface
| Type | Name | Description | |
|---|---|---|---|
| bool | AppendCompileHash
(
FNiagaraCompileHashVisitor* InVisitor |
Allows the generic class defaults version of this class to specify any dependencies/version/etc that might invalidate the compile. | |
| 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, |
Query the data interface to give feedback to the end user. | |
| bool | GetFunctionHLSL
(
const FNiagaraDataInterfaceGPUParamInfo& ParamInfo, |
||
| void | GetFunctions
(
TArray< FNiagaraFunctionSignature >& OutFunctions |
Gets all the available functions for this data interface. | |
| void | GetParameterDefinitionHLSL
(
const FNiagaraDataInterfaceGPUParamInfo& ParamInfo, |
||
| void | GetVMExternalFunction
(
const FVMExternalFunctionBindingInfo& BindingInfo, |
Returns the delegate for the passed function signature. | |
| void | |||
| void | SetShaderParameters
(
const FNiagaraDataInterfaceSetShaderParametersContext& Context |
Set the shader parameters will only be called if the data interface provided shader parameters. | |
| bool | UpgradeFunctionCall
(
FNiagaraFunctionSignature& FunctionSignature |
Allows data interfaces the opportunity to rename / change the function signature and perform an upgrade. |
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 | BeginDestroy () |
Called before destroying the object. | |
| 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 |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FMeshData |