Navigation
API > API/Runtime > API/Runtime/MovieScene
Key value type for object path channels that stores references to objects as both a hard and soft reference, to ensure compatability with both sub objects and async loading
| Name | FMovieSceneObjectPathChannelKeyValue |
| Type | struct |
| Header File | /Engine/Source/Runtime/MovieScene/Public/Channels/MovieSceneObjectPathChannel.h |
| Include Path | #include "Channels/MovieSceneObjectPathChannel.h" |
Syntax
USTRUCT ()
struct FMovieSceneObjectPathChannelKeyValue
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Default constructor | Channels/MovieSceneObjectPathChannel.h | ||
FMovieSceneObjectPathChannelKeyValue
(
UObject* InObject |
Construction from an object pointer | Channels/MovieSceneObjectPathChannel.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| HardPtr | TObjectPtr< UObject > | Hard reference to the loaded object - relevant for any asset type which also hints the async loader to efficiently load the asset in advance | Channels/MovieSceneObjectPathChannel.h | |
| SoftPtr | TSoftObjectPtr< UObject > | Persistent storage of the object by path (which allows us to support cross-level actor references, for instance) | Channels/MovieSceneObjectPathChannel.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UObject * Get() |
Attempt to find this object either by returning the internally kept raw pointer, or by resolving (but not loading) the soft object path | Channels/MovieSceneObjectPathChannel.h | |
const TSoftObjectPtr & GetSoftPtr() |
Access the soft object pointer that this key should load | Channels/MovieSceneObjectPathChannel.h | |
UObject * GetValue() |
Channels/MovieSceneObjectPathChannel.h | ||
bool SerializeFromMismatchedTag
(
FPropertyTag const& Tag, |
Legacy conversion from a TSoftObjectPtr<> | Channels/MovieSceneObjectPathChannel.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FMovieSceneObjectPathChannelKeyValue & operator=
(
UObject* NewObject |
Assignment from a raw object pointer | Channels/MovieSceneObjectPathChannel.h |