Navigation
API > API/Plugins > API/Plugins/NiagaraEditor
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UDeveloperSettings
- UNiagaraEditorSettings
References
| Module | NiagaraEditor |
| Header | /Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraEditorSettings.h |
| Include | #include "NiagaraEditorSettings.h" |
Syntax
UCLASS (Config=Niagara, defaultconfig, Meta=(DisplayName="Niagara"), MinimalAPI)
class UNiagaraEditorSettings : public UDeveloperSettings
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bAlwaysZoomToFitSystemGraph | If true then the system editor will zoom to fit all emitters when opening an asset. | |
| bool | bSimplifyStackNodesAtLowResolution | If true then emitter and system nodes will show a simplified representation on low zoom levels. | |
| FSoftObjectPath | DefaultDynamicInputScript | Niagara script to duplicate as the base of all new script assets created. | |
| FSoftObjectPath | DefaultFunctionScript | Niagara script to duplicate as the base of all new script assets created. | |
| FSoftObjectPath | DefaultModuleScript | Niagara script to duplicate as the base of all new script assets created. | |
| FSoftObjectPath | DefaultScript | Niagara script to duplicate as the base of all new script assets created. | |
| ENiagaraAddDefaultsTrackMode | DefaultsSequencerSubtracks | ||
| TArray< TSoftObjectPtr< UNiagaraValidationRuleSet > > | DefaultValidationRuleSets | Validation rules applied to all Niagara systems. | |
| TArray< FNiagaraSpawnShortcut > | GraphCreationShortcuts | Shortcut key bindings that if held down while doing a mouse click, will spawn the specified type of Niagara node. | |
| int32 | LowResolutionNodeMaxNameChars | The max number of chars before names on the low resolution nodes are truncated. | |
| ENiagaraCategoryExpandState | RendererCategoryExpandState | ||
| FSoftObjectPath | RequiredSystemUpdateScript | Niagara script which is required in the system update script to control system state. | |
| FOnNiagaraEditorSettingsChanged | SettingsChangedDelegate |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UNiagaraEditorSettings
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| FAssetRegistryTag | CreateClassUsageAssetRegistryTag
(
const UObject* SourceObject |
||
| FNiagaraParameterPanelSectionStorage & | FindOrAddParameterPanelSectionStorage
(
FGuid PanelSectionId, |
||
| const TArray< FNiagaraNamespaceMetadata > & | |||
| const TArray< FNiagaraNamespaceMetadata > & | |||
| int32 | |||
| bool | Gets whether or not auto-compile is enabled in the editors. | ||
| bool | GetAutoPlay () |
Gets whether or not simulations should start playing automatically when the emitter or system editor is opened, or when the data is changed in the editor. | |
| const TArray< FNiagaraCurveTemplate > & | |||
| FNiagaraNamespaceMetadata | |||
| FNiagaraNamespaceMetadata | |||
| bool | Gets whether or not to display advanced categories for the parameter panel. | ||
| bool | |||
| float | |||
| bool | |||
| const TMap< FString, FString > & | |||
| const FGuid & | GetIdForUsage
(
ENiagaraScriptUsage Usage |
||
| FNiagaraNamespaceMetadata | GetMetaDataForId
(
const FGuid& NamespaceId |
||
| FNiagaraNamespaceMetadata | GetMetaDataForNamespaceModifier
(
FName NamespaceModifier |
||
| FNiagaraNamespaceMetadata | GetMetaDataForNamespaces
(
TArray< FName > Namespaces |
||
| TArray< float > | |||
| bool | Gets whether or not to reset all components that include the system that is currently being reset | ||
| bool | Gets whether or not the simulation should reset when a value on the emitter or system is changed. | ||
| bool | Gets whether or not to rerun the simulation to the current time when making modifications while paused. | ||
| FLinearColor | GetSourceColor
(
EScriptSource Source |
||
| bool | |||
| bool | |||
| const FNiagaraViewportSharedSettings & | |||
| bool | IsAllowedAssetByClassUsage
(
const FAssetData& InAssetData |
||
| bool | IsAllowedAssetInNiagaraAssetBrowser
(
const FAssetData& InAssetData |
||
| bool | IsAllowedAssetObjectByClassUsage
(
const UObject& InAssetObject |
||
| bool | IsReferenceableClass
(
const UClass* InClass |
Returns whether or not the supplied class is valid to be used in the current editor context. | |
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | |||
| bool | IsVisibleClass
(
const UClass* InClass |
Returns whether or not the supplied class is visible for UI purposes in the current editor context. | |
| bool | IsVisibleTypeDefinition
(
const FNiagaraTypeDefinition& InTypeDefinition |
Returns whether or not the supplied niagara type definition can be used in the current editor context. | |
| FOnNiagaraEditorSettingsChanged & | Gets a multicast delegate which is called whenever one of the parameters in this settings object changes. | ||
| void | SetAutoCompile
(
bool bInAutoCompile |
Sets whether or not auto-compile is enabled in the editors. | |
| void | SetAutoExposureValue
(
bool bInUseAutoExposure |
||
| void | SetAutoPlay
(
bool bInAutoPlay |
Sets whether or not simulations should start playing automatically when the emitter or system editor is opened, or when the data is changed in the editor. | |
| void | SetDisplayAdvancedParameterPanelCategories
(
bool bInDisplayAdvancedParameterPanelCategories |
Sets whether or not to display advanced categories for the parameter panel. | |
| void | SetOnIsClassReferenceable
(
const FOnIsClassAllowed& InOnIsClassAllowed |
Sets a delegate that allows external code to restrict which features can be used within the niagara editor by filtering which classes are actually referenceable. | |
| void | SetOnIsClassVisible
(
const FOnIsClassAllowed& InOnIsClassAllowed |
Sets a delegate that allows external code to restrict which features can be used within the niagara editor by filtering which classes are visible in various menus. | |
| void | SetOnShouldFilterAssetByClassUsage
(
const FOnShouldFilterAsset& InOnShouldFilterAssetByClassUsage |
Sets a delegate that allows external code to restrict which features can be used within the niagara editor by filtering which assets are allowed. | |
| void | SetOnShouldFilterAssetInNiagaraAssetBrowser
(
const FOnShouldFilterAsset& InOnShouldFilterAssetByClassUsage |
Sets a delegate that allows external code to restrict what assets will show up in the Niagara Asset Browser. | |
| void | SetResetDependentSystemsWhenEditingEmitters
(
bool bInResetDependentSystemsWhenEditingEmitters |
Sets whether or not to reset all components that include the system that is currently being reset | |
| void | SetResetSimulationOnChange
(
bool bInResetSimulationOnChange |
Sets whether or not the simulation should reset when a value on the emitter or system is changed. | |
| void | SetResimulateOnChangeWhilePaused
(
bool bInResimulateOnChangeWhilePaused |
Sets whether or not to rerun the simulation to the current time when making modifications while paused. | |
| void | SetShowEmitterExecutionOrder
(
bool bShowEmitterExecutionOrder |
||
| void | SetShowGpuTickInformation
(
bool bShowGpuTickInformation |
||
| void | SetShowGridInViewport
(
bool bShowGridInViewport |
||
| void | SetShowInstructionsCount
(
bool bShowInstructionsCount |
||
| void | SetShowMemoryInfo
(
bool bInShowInfo |
||
| void | SetShowParticleCountsInViewport
(
bool bShowParticleCountsInViewport |
||
| void | SetShowStatelessInfo
(
bool bInShowInfo |
||
| void | SetUseAutoExposure
(
bool bInUseAutoExposure |
||
| void | SetViewportSharedSettings
(
const FNiagaraViewportSharedSettings& InViewportSharedSettings |
Overridden from UDeveloperSettings
| Type | Name | Description | |
|---|---|---|---|
| FName | Gets the category for the settings, some high level grouping like, Editor, Engine, Game...etc. | ||
| FText | Gets the section text, uses the classes DisplayName by default. |
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
UObject interface |