ArticyXImporter
ArticyXImporter for Unreal Engine
Loading...
Searching...
No Matches
UArticyAlternativeGVFactory Class Reference

Factory class for creating UArticyAlternativeGlobalVariables assets. More...

#include <ArticyAlternativeGVFactory.h>

Inheritance diagram for UArticyAlternativeGVFactory:

Public Member Functions

virtual UObject * FactoryCreateNew (UClass *InClass, UObject *InParent, FName InName, EObjectFlags Flags, UObject *Context, FFeedbackContext *Warn) override
 Creates a new UArticyAlternativeGlobalVariables object.
virtual bool ShouldShowInNewMenu () const override
 Determines whether the factory should appear in the "New" menu.

Detailed Description

Factory class for creating UArticyAlternativeGlobalVariables assets.

This class provides functionality for creating new instances of UArticyAlternativeGlobalVariables assets in the Unreal Engine editor.

Member Function Documentation

◆ FactoryCreateNew()

UObject * UArticyAlternativeGVFactory::FactoryCreateNew ( UClass * InClass,
UObject * InParent,
FName InName,
EObjectFlags Flags,
UObject * Context,
FFeedbackContext * Warn )
overridevirtual

Creates a new UArticyAlternativeGlobalVariables object.

This function is called when a new instance of the asset is created in the editor.

Parameters
InClassThe class type of the object to create.
InParentThe parent object for the new asset.
InNameThe name of the new asset.
FlagsObject flags for the new asset.
ContextAdditional context for asset creation.
WarnFeedback context for warnings.
Returns
A pointer to the newly created UArticyAlternativeGlobalVariables object.

◆ ShouldShowInNewMenu()

bool UArticyAlternativeGVFactory::ShouldShowInNewMenu ( ) const
overridevirtual

Determines whether the factory should appear in the "New" menu.

Returns
True if the factory should be displayed in the "New" menu, false otherwise.

The documentation for this class was generated from the following files:
  • Source/ArticyEditor/Private/Customizations/ArticyAlternativeGVFactory.h
  • Source/ArticyEditor/Private/Customizations/ArticyAlternativeGVFactory.cpp