Navigation
API > API/Plugins > API/Plugins/Niagara
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UNiagaraMergeable
- UNiagaraRendererProperties
- UNiagaraLightRendererProperties
References
| Module | Niagara |
| Header | /Engine/Plugins/FX/Niagara/Source/Niagara/Public/NiagaraLightRendererProperties.h |
| Include | #include "NiagaraLightRendererProperties.h" |
Syntax
UCLASS (EditInlineNew, MinimalAPI, Meta=(DisplayName="Light Renderer"))
class UNiagaraLightRendererProperties : public UNiagaraRendererProperties
Variables
| Type | Name | Description | |
|---|---|---|---|
| uint32: 1 | bAffectsTranslucency | Whether lights from this renderer should affect translucency. | |
| uint32: 1 | bAlphaScalesBrightness | When checked, will treat the alpha value of the particle's color as a multiplier of the light's brightness. | |
| uint32: 1 | bOverrideInverseExposureBlend | When enabled we will override the project default setting with our local setting. | |
| uint32: 1 | bUseInverseSquaredFalloff | Whether to use physically based inverse squared falloff from the light. | |
| FVector3f | ColorAdd | A static color shift applied to each rendered light | |
| FNiagaraVariableAttributeBinding | ColorBinding | Which attribute should we use for light color when generating lights? | |
| FNiagaraDataSetAccessor< FLinearColor > | ColorDataSetAccessor | ||
| float | DefaultExponent | The exponent to use for all lights if no exponent binding was found | |
| float | DiffuseScale | The diffuse scale to use for all lights if no binding was found | |
| FNiagaraDataSetAccessor< float > | DiffuseScaleAccessor | ||
| FNiagaraVariableAttributeBinding | DiffuseScaleBinding | Which attribute should we use for the diffuse scale when generating lights? | |
| FNiagaraDataSetAccessor< FNiagaraBool > | EnabledDataSetAccessor | ||
| FNiagaraDataSetAccessor< float > | ExponentDataSetAccessor | ||
| float | InverseExposureBlend | Blend Factor used to blend between Intensity and Intensity/Exposure. | |
| FNiagaraVariableAttributeBinding | LightExponentBinding | Which attribute should we use for the light's exponent when inverse squared falloff is disabled? | |
| FNiagaraVariableAttributeBinding | LightRenderingEnabledBinding | Which attribute should we use to check if light rendering should be enabled for a particle? This can be used to control the spawn-rate on a per-particle basis. | |
| FNiagaraVariableAttributeBinding | PositionBinding | Which attribute should we use for position when generating lights? | |
| FNiagaraDataSetAccessor< FNiagaraPosition > | PositionDataSetAccessor | ||
| FNiagaraVariableAttributeBinding | RadiusBinding | Which attribute should we use for light radius when generating lights? | |
| FNiagaraDataSetAccessor< float > | RadiusDataSetAccessor | ||
| float | RadiusScale | A factor used to scale each particle light radius | |
| int32 | RendererVisibility | If a render visibility tag is present, particles whose tag matches this value will be visible in this renderer. | |
| FNiagaraDataSetAccessor< int32 > | RendererVisibilityTagAccessor | ||
| FNiagaraVariableAttributeBinding | RendererVisibilityTagBinding | Which attribute should we use for the renderer visibility tag? | |
| FNiagaraDataSetAccessor< float > | ScatteringDataSetAccessor | ||
| ENiagaraRendererSourceDataMode | SourceMode | Whether or not to draw a single element for the Emitter or to draw the particles. | |
| float | SpecularScale | The specular scale to use for all lights if no binding was found | |
| FNiagaraDataSetAccessor< float > | SpecularScaleAccessor | ||
| FNiagaraVariableAttributeBinding | SpecularScaleBinding | Which attribute should we use for the specular scale when generating lights? | |
| FNiagaraVariableAttributeBinding | VolumetricScatteringBinding | Which attribute should we use for the intensity of the volumetric scattering from this light? This scales the light's intensity and color. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | The bindings depend on variables that are created during the NiagaraModule startup. |
Overridden from UNiagaraRendererProperties
| Type | Name | Description | |
|---|---|---|---|
| void | CacheFromCompiledData
(
const FNiagaraDataSetCompiledData* CompiledData |
||
| FNiagaraBoundsCalculator * | |||
| FNiagaraRenderer * | CreateEmitterRenderer
(
ERHIFeatureLevel::Type FeatureLevel, |
||
| ENiagaraRendererSourceDataMode | |||
| const TArray< FNiagaraVariable > & | |||
| void | GetRendererFeedback
(
const FVersionedNiagaraEmitter& InEmitter, |
||
| void | GetRendererTooltipWidgets
(
const FNiagaraEmitterInstance* InEmitter, |
||
| void | GetRendererWidgets
(
const FNiagaraEmitterInstance* InEmitter, |
||
| void | GetUsedMaterials
(
const FNiagaraEmitterInstance* InEmitter, |
||
| bool | IsSimTargetSupported
(
ENiagaraSimTarget InSimTarget |
||
| 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 | UpdateSourceModeDerivates
(
ENiagaraRendererSourceDataMode InSourceMode, |
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. |
Constants
| Name | Description |
|---|---|
| LightRendererPropertiesToDeferredInit |