// Copyright Epic Games, Inc. All Rights Reserved. #include "Channels/ByteChannelKeyProxy.h" #include "Channels/MovieSceneByteChannel.h" #include "HAL/PlatformCrt.h" struct FPropertyChangedEvent; void UByteChannelKeyProxy::Initialize(FKeyHandle InKeyHandle, TMovieSceneChannelHandle InChannelHandle, TWeakObjectPtr InWeakSection) { KeyHandle = InKeyHandle; ChannelHandle = InChannelHandle; WeakSection = InWeakSection; } void UByteChannelKeyProxy::PostEditChangeProperty(FPropertyChangedEvent& PropertyChangedEvent) { Super::PostEditChangeProperty(PropertyChangedEvent); OnProxyValueChanged(ChannelHandle, WeakSection.Get(), KeyHandle, Value, Time); } void UByteChannelKeyProxy::UpdateValuesFromRawData() { RefreshCurrentValue(ChannelHandle, KeyHandle, Value, Time); }