Geeks3D latest news

FurMark
Current Version: 1.10.1
»FurMark homepage
»FurMark 1.9.x Submissions

GPU Caps Viewer
Current Version: 1.16.0
»GPU Caps Viewer homepage
»GPU DB Submissions

PhysX FluidMark
Current Version: 1.5.0
»FluidMark homepage
»FluidMark 1.4.x Submissions

GeeXLab
Current Version: 0.3.3
»GeeXLab homepage
»GeeXLab Overview

GPU Shark
Current Version: 0.6.3
»GPU Shark homepage

TessMark
Current Version: 0.3.0
»TessMark homepage

ShaderToyMark
Current Version: 0.3.0
»ShaderToyMark homepage
»ShaderToyMark Scores

Blogs
»JeGX's HackLab

Geeks3D's Articles
»GPU Memory Speed Demystified

»Multi-Threading Programming Resources

»GeForce and Radeon OpenCL Overview

»How to Get your Multi-core CPU Busy at 100%

»How To Make a VGA Dummy Plug

»Night Vision Post Processing Filter


Demoniak3D
Current Version: 1.23.0
»Demoniak3D
»Download
»Libraries and Plugins
»Demos
»Online Help - Reference Guide
»Codes Samples

Language

Language:

3D Graphics Search Engine:

The Geeks Of 3D


 
oZone3D.Net - Demoniak3D Developer Guide


» Back To Index

The <timer> node

Function

The timer node makes it possible to set up an entity (the TIMER) which starts an event at regular intervals. Generally the event is a LUA scripting code.

General syntax

<timer
	name=""
	script=""
	time_out="1000"
	active="TRUE"  />

timer element

timer is the xml tag that defines a timer node.

Attributes:
  • name - [STR127] - name of the node. This name will make it possible to refer this node throughout the XML script.

  • active - [BOOLEAN] - enables (TRUE) or disables (FALSE) the timer - default value: TRUE

  • script - [STR255] - location of the script timer to be executed at each timer time-out. The site relates to the xml script. This name can also refer to an already existing LUA script in the XML code.

  • time_out - [INTEGER] - time of the timer in milliseconds. As soon as the time corresponding to the time-out is passed, the script that is specified within the script attribute is executed - default value: 1000


Example:
<timer name="timer02" script="on_timer02_lua" time_out="10" active="TRUE" /> 

<script name="on_timer02_lua" run_mode="ASYNCHRONOUS" >
	<raw_data><![CDATA[	
	
	HYP_Object.SetRoll( "plane2", -0.2 );
    
    ]]></raw_data>
</script> 



Page generated in 0.057535171508789 seconds.