engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 成员函数 | 所有成员列表
IMovieSceneKeyProxy类 参考abstract

Interface that can be implemented by any object that is used as a key editing proxy for a moviescene channel. 更多...

#include <MovieSceneKeyProxy.h>

Public 成员函数

virtual void UpdateValuesFromRawData ()=0
 To be called by the edit interface to update this instance's properties with the underlying raw data
 

Protected 成员函数

template<typename ChannelType , typename ValueType >
void OnProxyValueChanged (TMovieSceneChannelHandle< ChannelType > InChannelHandle, UMovieSceneSection *InSection, FKeyHandle InKeyHandle, ValueType &InOutValue, FFrameNumber &InOutTime)
 Implementation function that sets the underlying key time/value to the specified values if possible. 更多...
 
template<typename ChannelType , typename ValueType >
void RefreshCurrentValue (TMovieSceneChannelHandle< ChannelType > InChannelHandle, FKeyHandle InKeyHandle, ValueType &OutValue, FFrameNumber &OutTime)
 Implementation function that retrieves the underlying key time/value and applies then to the specified value and time parameters. 更多...
 

详细描述

Interface that can be implemented by any object that is used as a key editing proxy for a moviescene channel.

When used, UpdateValuesFromRawData should be called every frame to optionally retrieve the current values of the key for this proxy.

成员函数说明

◆ OnProxyValueChanged()

template<typename ChannelType , typename ValueType >
void IMovieSceneKeyProxy::OnProxyValueChanged ( TMovieSceneChannelHandle< ChannelType >  InChannelHandle,
UMovieSceneSection *  InSection,
FKeyHandle  InKeyHandle,
ValueType &  InOutValue,
FFrameNumber &  InOutTime 
)
protected

Implementation function that sets the underlying key time/value to the specified values if possible.

If the section is locked, InOutValue and InOutTime will be reset back to the current key's value

参数
InChannelHandleThe channel on which the underlying key value resides
InSectionThe section that owns the channel
InKeyHandleA handle to the key that we are reflecting
InOutValueValue to assign to the underlying key. If the section is locked, this will receive the existing key's value without changing the underlying key value.
InOutTimeTime to move the underlying key to. If the section is locked, this will receive the existing key's time without changing the underlying time.

◆ RefreshCurrentValue()

template<typename ChannelType , typename ValueType >
void IMovieSceneKeyProxy::RefreshCurrentValue ( TMovieSceneChannelHandle< ChannelType >  InChannelHandle,
FKeyHandle  InKeyHandle,
ValueType &  OutValue,
FFrameNumber &  OutTime 
)
protected

Implementation function that retrieves the underlying key time/value and applies then to the specified value and time parameters.

Normally called once per tick.

参数
InChannelHandleThe channel on which the underlying key value resides
InKeyHandleA handle to the key that we are reflecting
OutValue(Out) Value to receive the underlying key's value
OutTime(Out) Time to receive the underlying key time

该类的文档由以下文件生成: