static void Frame()

robot_2Generated
code_blocksInput

Description

The Frame method in the Editor.Animate class is a static method that is used to advance the animation frame. This method is typically called within the editor's update loop to ensure that animations are processed and updated correctly. It is marked with the Editor.EditorEvent/FrameAttribute, indicating its role in the animation frame update cycle.

Usage

To use the Frame method, ensure that it is called regularly, such as within a game loop or an editor update loop. This will allow animations to progress smoothly and be rendered correctly. Since it is a static method, you can call it directly on the Editor.Animate class without needing an instance.

Example

// Example of calling the Frame method within an update loop
public void Update()
{
    // Call the Frame method to advance the animation frame
    Editor.Animate.Frame();
}