Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FrameData

This structure contains the frame information a Playable receives in PrepareFrame.
Read time 1 minuteLast updated 3 days ago

Definition

public struct FrameData

Properties

Property

Description

deltaTimeThe interval between this frame and the preceding frame. The interval is unscaled and expressed in seconds.
effectiveParentSpeedThe accumulated speed of the parent Playable during the PlayableGraph traversal.
effectivePlayStateThe accumulated play state of this playable.
effectiveSpeedThe accumulated speed of the Playable during the PlayableGraph traversal.
effectiveWeightThe accumulated weight of the Playable during the PlayableGraph traversal.
evaluationTypeIndicates the type of evaluation that caused PrepareFrame to be called.
frameIdThe current frame identifier.
outputThe PlayableOutput that initiated this graph traversal.
seekOccurredIndicates that the local time was explicitly set.
timeHeldIndicates the local time did not advance because it has reached the duration and the extrapolation mode is set to Hold.
timeLoopedIndicates the local time wrapped because it has reached the duration and the extrapolation mode is set to Loop.
weightThe weight of the current Playable.

Enums

Enum

Description

FrameData.EvaluationTypeDescribes the cause for the evaluation of a PlayableGraph.