Difference between revisions of "Event.ENTER FRAME"

From GiderosMobile
Line 3: Line 3:
 
'''Value:''' enterFrame<br/>
 
'''Value:''' enterFrame<br/>
 
=== Description ===
 
=== Description ===
<translate>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.</translate>
+
<translate>The Gideros runtime dispatches the built-in [[Special:MyLanguage/Event.ENTER_FRAME|Event.ENTER_FRAME]] event to [[Special:MyLanguage/Sprite|Sprite]] instances before rendering the screen. Visual changes made by any [[Special:MyLanguage/Event.ENTER_FRAME|Event.ENTER_FRAME]] listener function will be visible at next frame.</translate>
 
=== Parameters ===
 
=== Parameters ===
 
'''deltaTime''': (number) <translate>time passed from previous frame</translate><br/>
 
'''deltaTime''': (number) <translate>time passed from previous frame</translate><br/>
 
'''time''': (number) <translate>time passed from app start</translate><br/>
 
'''time''': (number) <translate>time passed from app start</translate><br/>
 
'''frameCount''': (number) <translate>frame count from app start</translate><br/>
 
'''frameCount''': (number) <translate>frame count from app start</translate><br/>

Revision as of 16:33, 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