EntitySystemWorld.Simulation Or .SystemPauseOfSimulation



Users browsing this forum: No registered users and 2 guests

Next topic
Previous topic
Post new topic Reply to topic  NeoAxis Forum Index » General » General Discussion
Search for:
Author Message
User avatar

Joined: Thu Feb 03, 2011
Posts: 653
Country: France (fr)
PostPosted: Mon Sep 12, 2011 8:08 am Post subject: EntitySystemWorld.Simulation Or .SystemPauseOfSimulation
Bottom of Page Back to top
Hi ! Just want to check something ! Does this two variable do the exact same thing ? (
Code: Select all   Expand view
EntitySystemWorld.Instance.SystemPauseOfSimulation And EntitySystemWorld.Instance.Simulation


and so is this always true
Code: Select all   Expand view
(EntitySystemWorld.Instance.SystemPauseOfSimulation == !EntitySystemWorld.Instance.Simulation)


thanks !
Firefly

 
 Profile  
Administrator
Administrator
User avatar

Joined: Wed Oct 11, 2006
Posts: 5059
Location: Kazan
Country: Russia (ru)
PostPosted: Mon Sep 12, 2011 10:01 am 
Bottom of Page Back to top
Simulation property can be used by developers.

SystemPauseOfSimulation property is used for system management. When application window is minimized, simulation will be suspended too. Engine will set SystemPauseOfSimulation to false when minimized and restore when window activated.

_________________
Founder, lead developer of NeoAxis Group Ltd.
News on Twitter, Google+, Facebook, VK
 
 Profile  
User avatar

Joined: Thu Feb 03, 2011
Posts: 653
Country: France (fr)
PostPosted: Mon Sep 12, 2011 12:20 pm 
Bottom of Page Back to top
Perfect ! thank you !

 
 Profile  
Display posts from previous:  Sort by  
Post new topic Reply to topic  NeoAxis Forum Index » General » General Discussion

Jump to:  

Next topic
Previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron

All times are UTC




Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group