Difference between revisions of "Event.ENTER FRAME"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === The Gideros runtime dispatches the built-in `Event.ENTER_FRAME` event to `Sprite` instances before ren...")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Value:''' enterFrame<br/>
 
=== Description ===
 
=== Description ===
 
The Gideros runtime dispatches the built-in `Event.ENTER_FRAME` event to `Sprite` instances before rendering the screen. Visual changes made by any `Event.ENTER_FRAME` listener function will be visible at next frame.
 
The Gideros runtime dispatches the built-in `Event.ENTER_FRAME` event to `Sprite` instances before rendering the screen. Visual changes made by any `Event.ENTER_FRAME` listener function will be visible at next frame.
 +
=== Parameters ===
 +
'''deltaTime''': (number) time passed from previous frame<br/>
 +
'''time''': (number) time passed from app start<br/>
 +
'''frameCount''': (number) frame count from app start<br/>

Revision as of 10:38, 23 August 2018

Available since: Gideros 2011.6
Value: enterFrame

Description

The Gideros runtime dispatches the built-in `Event.ENTER_FRAME` event to `Sprite` instances before rendering the screen. Visual changes made by any `Event.ENTER_FRAME` listener function will be visible at next frame.

Parameters

deltaTime: (number) time passed from previous frame
time: (number) time passed from app start
frameCount: (number) frame count from app start