FrameData

UnityEngine.Playables 中的结构体

/

实现于:UnityEngine.CoreModule

描述

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

属性

deltaTime此帧与前一帧之间的时间间隔。时间间隔未缩放,以秒为单位。
effectiveParentSpeed在 PlayableGraph 遍历期间,父 Playable 的累积速度。
effectivePlayState此 Playable 的累积播放状态。
effectiveSpeed在 PlayableGraph 遍历期间,Playable 的累积速度。
effectiveWeight在 PlayableGraph 遍历期间,Playable 的累积权重。
evaluationType指示导致 PlayableGraph.PrepareFrame 被调用的评估类型。
frameId当前帧标识符。
output启动此图遍历的 PlayableOutput。
seekOccurred指示显式设置了本地时间。
timeHeld指示本地时间未推进,因为它已达到持续时间,并且外推模式设置为“保持”。
timeLooped指示本地时间已环绕,因为它已达到持续时间,并且外推模式设置为“循环”。
weight当前 Playable 的权重。

Did you find this page useful? Please give it a rating: