UAnimationDataSourceRegistry::RequestSource

Returns a given data source and cast it to the expected class.

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

UObject * RequestSource
(
    const FName & InName,
    UClass * InExpectedClass
) const

Remarks

Returns a given data source and cast it to the expected class.

Returns

The requested data source

Parameters

Parameter

Description

InName

The name of the data source to look up.

InExpectedClass

The class expected from the data source