UAnimationDataSourceRegistry::RegisterDataSource

Registers a new data source under a given name.

Choose your operating system:

Windows

macOS

Linux

References

Module

AnimationCore

Header

/Engine/Source/Runtime/AnimationCore/Public/AnimationDataSource.h

Include

#include "AnimationDataSource.h"

Source

/Engine/Source/Runtime/AnimationCore/Private/AnimationDataSource.cpp

Syntax

bool RegisterDataSource
(
    const FName & InName,
    UObject * InDataSource
)

Remarks

Registers a new data source under a given name. Returns false in case the data source has already been registered.

Returns

true if succeeded

Parameters

Parameter

Description

InName

The name to register the data source under

InDataSource

The data source to register