Version: 2021.3

FrameData

struct in UnityEngine.Playables

切换到手册

描述

此结构包含 Playable 在 Playable.PrepareFrame 中收到的帧信息。

变量

deltaTime该帧与上一帧之间的时间差。
effectiveParentSpeed PlayableGraph 遍历期间,父 Playable 的累积速度。
effectivePlayState此可播放项的累积播放状态。
effectiveSpeed PlayableGraph 遍历期间,Playable 的累积速度。
effectiveWeight PlayableGraph 遍历期间,Playable 的累积权重。
evaluationType指示导致调用 PlayableGraph.PrepareFrame 的评估类型。
frameId当前帧标识符。
output发起此图遍历的 PlayableOutput。
seekOccurred指示本地时间为显式设置。
timeHeld指示本地时间未推进,因为它已到达持续时间且外推模式设置为 Hold。
timeLooped指示本地时间已循环,因为它已到达持续时间且外推模式设置为 Loop。
weight当前 Playable 的权重。