SCurveEditor::CreateCurveObject

Function to create a curve object and return its reference.

Windows
MacOS
Linux

References

Module

UnrealEd

Header

/Engine/Source/Editor/UnrealEd/Public/SCurveEditor.h

Include

#include "SCurveEditor.h"

Source

/Engine/Source/Editor/UnrealEd/Private/SCurveEditor.cpp

Syntax

UObject * CreateCurveObject
(
    TSubclassOf< UCurveBase > CurveType,
    UObject * PackagePtr,
    FName & AssetName
)

Remarks

Function to create a curve object and return its reference.

Returns

: Reference to the newly created curve object

Parameters

Parameter

Description

1

Type of curve to create

2

Reference to the package in which the asset has to be created

3

Name of asset

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss