Navigation
API > API/Plugins > API/Plugins/Niagara
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNiagaraMergeable
- UNiagaraRendererProperties
- UNiagaraComponentRendererProperties
- UNiagaraDecalRendererProperties
- UNiagaraGeometryCacheRendererProperties
- UNiagaraLightRendererProperties
- UNiagaraMeshRendererProperties
- UNiagaraRibbonRendererProperties
- UNiagaraSpriteRendererProperties
- UNiagaraVolumeRendererProperties
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraRendererProperties.h |
| Include | #include "NiagaraRendererProperties.h" |
Syntax
UCLASS (Abstract, MinimalAPI)
class UNiagaraRendererProperties : public UNiagaraMergeable
Remarks
Emitter properties base class Each EmitterRenderer derives from this with its own class, and returns it in GetProperties; a copy of those specific properties is stored on UNiagaraEmitter (on the System) for serialization and handed back to the System renderer on load.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< const FNiagaraVariableAttributeBinding * > | AttributeBindings | ||
| bool | bAllowInCullProxies | ||
| bool | bIsEnabled | ||
| ENiagaraRendererMotionVectorSetting | MotionVectorSetting | Hint about how to generate motion (velocity) vectors for this renderer. | |
| FOnPropertiesChanged | OnPropertiesChangedDelegate | ||
| FGuid | OuterEmitterVersion | ||
| FNiagaraPlatformSet | Platforms | Platforms on which this renderer is enabled. | |
| FNiagaraVariableAttributeBinding | RendererEnabledBinding | Binding to control if the renderer is enabled or disabled. | |
| int32 | SortOrderHint | By default, emitters are drawn in the order that they are added to the system. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | BuildMaterialStaticParameterSet
(
const FNiagaraRendererMaterialParameters& MaterialParameters, |
Generates the static parameter set for the parent emitter | |
| void | CacheFromCompiledData
(
const FNiagaraDataSetCompiledData* CompiledData |
||
| void | ChangeToPositionBinding
(
FNiagaraVariableAttributeBinding& Binding |
Utility function that can be used to fix up old vec3 bindings into position bindings. | |
| void | CollectPSOPrecacheData
(
const FNiagaraEmitterInstance* InEmitter, |
||
| void | CollectPSOPrecacheData
(
FNiagaraEmitterInstance* EmitterInstance, |
Collect PSO precache data using the optional emitter instance | |
| uint32 | ComputeMaxUsedComponents
(
const FNiagaraDataSetCompiledData* CompiledDataSetData |
||
| FNiagaraBoundsCalculator * | |||
| FNiagaraRenderer * | CreateEmitterRenderer
(
ERHIFeatureLevel::Type FeatureLevel, |
||
| void | FixMaterial
(
UMaterial* Material |
||
| void | ForEachPlatformSet
(
TAction Func |
||
| void | GetAdditionalVariables
(
TArray< FNiagaraVariableBase >& OutArray |
||
| void | Method to add asset tags that are specific to this renderer. | ||
| const TArray< const FNiagaraVariableAttributeBinding * > & | |||
| FNiagaraVariable | GetBoundAttribute
(
const FNiagaraVariableAttributeBinding* Binding |
Returns the variable associated with the supplied binding if it should be bound given the current settings of the RendererProperties. | |
| TArray< FNiagaraVariable > | |||
| ENiagaraRendererSourceDataMode | |||
| int32 | GetDynamicParameterChannelMask
(
const FVersionedNiagaraEmitterData* EmitterData, |
||
| int32 | GetDynamicParameterCombinedChannelMask
(
FName Parameter0Name, |
||
| FVersionedNiagaraEmitterData * | |||
| bool | GetIsActive () |
||
| bool | GetIsEnabled () |
||
| float | |||
| const TArray< FNiagaraVariable > & | |||
| FVersionedNiagaraEmitter | |||
| void | GetRendererFeedback
(
const FVersionedNiagaraEmitter& InEmitter, |
||
| void | GetRendererFeedback
(
const FVersionedNiagaraEmitter& InEmitter, |
||
| void | GetRendererTooltipWidgets
(
const FNiagaraEmitterInstance* InEmitter, |
||
| void | GetRendererWidgets
(
const FNiagaraEmitterInstance* InEmitter, |
||
| const TArray< FNiagaraVariable > & | |||
| const FSlateBrush * | GetStackIcon () |
The icon to display in the niagara stack widget under the renderer section. | |
| void | GetStreamingMeshInfo
(
const FBoxSphereBounds& OwnerBounds, |
||
| void | GetUsedMaterials
(
const FNiagaraEmitterInstance* InEmitter, |
||
| const FVertexFactoryType * | |||
| FText | The text to display in the niagara stack widget under the renderer section. | ||
| void | InitParticleDataSetAccessor
(
TAccessorType& Accessor, |
||
| bool | |||
| bool | IsGpuTranslucentThisFrame
(
ERHIFeatureLevel::Type FeatureLevel, |
Is the Gpu translucent data going to be this frame, this can be restricted by things like feature level. | |
| bool | IsMaterialValidForRenderer
(
UMaterial* Material, |
||
| bool | IsSimTargetSupported
(
ENiagaraSimTarget InSimTarget |
||
| bool | IsSortHighPrecision
(
ENiagaraRendererSortPrecision SortPrecision |
||
| bool | IsSupportedVariableForBinding
(
const FNiagaraVariableBase& InSourceForBinding, |
||
| bool | |||
| bool | |||
| bool | When true, the renderer will be opted in to get its OnSystemComplete_GameThread overload called | ||
| bool | When true, the renderer will be opted in to get its PostSystemTick_GameThread overload called | ||
| FOnPropertiesChanged & | |||
| bool | PopulateRequiredBindings
(
FNiagaraParameterStore& InParameterStore |
In the case that we need parameters bound in that aren't Particle variables, these should be set up here so that the data is appropriately populated after the simulation. | |
| void | PostLoadBindings
(
ENiagaraRendererSourceDataMode InSourceMode |
||
| void | RemoveVariable
(
const FNiagaraVariableBase& OldVariable, |
||
| void | RenameEmitter
(
const FName& InOldName, |
Internal handling of any emitter variable renames. | |
| void | RenameVariable
(
const FNiagaraVariableBase& OldVariable, |
||
| void | SetIsEnabled
(
bool bInIsEnabled |
||
| bool | Should the Gpu translucent data be this frame or not? | ||
| UNiagaraRendererProperties * | StaticDuplicateWithNewMergeId
(
UObject* InOuter |
||
| void | UpdateMaterialParametersMIC
(
const FNiagaraRendererMaterialParameters& MaterialParameters, |
Utility function to updates MICs. | |
| void | UpdateMaterialParametersMIC
(
const FNiagaraRendererMaterialParameters& MaterialParameters, |
||
| bool | UpdateMaterialStaticParameters
(
const FNiagaraRendererMaterialParameters& MaterialParameters, |
Update MIC Static Parameters. | |
| void | UpdateSourceModeDerivates
(
ENiagaraRendererSourceDataMode InSourceMode, |
||
| bool |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| bool | NeedsLoadForTargetPlatform
(
const ITargetPlatform* TargetPlatform |
Called during saving to determine the load flags to save with 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. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FPSOPrecacheParams | Collect all the data required for PSO precaching |
Typedefs
| Name | Description |
|---|---|
| FOnPropertiesChanged | |
| FPSOPrecacheParamsList |
Deprecated Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bMotionBlurEnabled_DEPRECATED |