FrameData
This structure contains the frame information a Playable receives in PrepareFrame.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Struct
- Namespace: UnityEngine.Playables
- Assembly: UnityEngine.CoreModule
public struct FrameData
Properties
Property | Description |
|---|---|
| deltaTime | The interval between this frame and the preceding frame. The interval is unscaled and expressed in seconds. |
| effectiveParentSpeed | The accumulated speed of the parent Playable during the PlayableGraph traversal. |
| effectivePlayState | The accumulated play state of this playable. |
| effectiveSpeed | The accumulated speed of the Playable during the PlayableGraph traversal. |
| effectiveWeight | The accumulated weight of the Playable during the PlayableGraph traversal. |
| evaluationType | Indicates the type of evaluation that caused PrepareFrame to be called. |
| frameId | The current frame identifier. |
| output | The PlayableOutput that initiated this graph traversal. |
| seekOccurred | Indicates that the local time was explicitly set. |
| timeHeld | Indicates the local time did not advance because it has reached the duration and the extrapolation mode is set to Hold. |
| timeLooped | Indicates the local time wrapped because it has reached the duration and the extrapolation mode is set to Loop. |
| weight | The weight of the current Playable. |
Enums
Enum | Description |
|---|---|
| FrameData.EvaluationType | Describes the cause for the evaluation of a PlayableGraph. |