UAnimationDataSourceRegistry::RequestSource

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

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

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