Navigation
API > API/Plugins > API/Plugins/Niagara
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNiagaraMergeable
- UNiagaraDataInterfaceBase
- UNiagaraDataInterface
- UNiagaraDataInterfaceSpriteRendererInfo
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Classes/NiagaraDataInterfaceSpriteRendererInfo.h |
| Include | #include "NiagaraDataInterfaceSpriteRendererInfo.h" |
Syntax
UCLASS (EditInlineNew, Category="Sprite Particles", CollapseCategories,
Meta=(DisplayName="Sprite Renderer Info"), MinimalAPI)
class UNiagaraDataInterfaceSpriteRendererInfo : public UNiagaraDataInterface
Remarks
This Data Interface can be used to query information about the sprite renderers of an emitter
Variables
| Type | Name | Description | |
|---|---|---|---|
| FDelegateHandle | OnSpriteRendererChangedHandle | ||
| TObjectPtr< UNiagaraSpriteRendererProperties > | SpriteRenderer | The name of the sprite renderer |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNiagaraDataInterfaceSpriteRendererInfo
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UNiagaraSpriteRendererProperties * | |||
| void | OnSpriteRendererChanged
(
UNiagaraSpriteRendererProperties* NewSpriteRenderer |
||
| void | VMGetAlignment
(
FVectorVMExternalFunctionContext& Context |
||
| void | VMGetFacingMode
(
FVectorVMExternalFunctionContext& Context |
||
| void | VMGetSourceMode
(
FVectorVMExternalFunctionContext& Context |
||
| void | VMGetSubUVDetails
(
FVectorVMExternalFunctionContext& Context |
||
| void | VMIsValid
(
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 | GetFunctionsInternal
(
TArray< FNiagaraFunctionSignature >& OutFunctions |
||
| 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. |
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 |