FNiagaraEditorUtilities::GetTypeDefaultValue

Fills DefaultData with the types default, either based on the struct, or if available through registered type utilities.

Choose your operating system:

Windows

macOS

Linux

References

Module

NiagaraEditor

Header

/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Public/NiagaraEditorUtilities.h

Include

#include "NiagaraEditorUtilities.h"

Source

/Engine/Plugins/FX/Niagara/Source/NiagaraEditor/Private/NiagaraEditorUtilities.cpp

Syntax

namespace FNiagaraEditorUtilities
{
    void FNiagaraEditorUtilities::GetTypeDefaultValue
    (
        const FNiagaraTypeDefinition & Type,
        TArray< uint8 > & DefaultData
    )
}

Remarks

Fills DefaultData with the types default, either based on the struct, or if available through registered type utilities.