Plugin Cafe Homepage
Forum Home Forum Home > Plugin Cafe > SDK Help
  New Posts New Posts
  FAQ FAQ  Forum Search

Detect FPS changed

  Topic Search Topic Search
Motiva View Drop Down

Joined: 2016 Feb 03
Online Status: Offline
Posts: 54
Direct Link To This Post Topic: Detect FPS changed
    Posted: 2018 Jun 27 at 5:03am

User Information:

Cinema 4D Version:   R17 
Platform:   Windows  ;   
Language(s):     C++  ;   


Probably it should be done throught a scene hook but I'm not sure what kind of check should I make to detect if the hook is sent by  a FPS change on the scene.

Any idea on this?

Thank you in advance.

Edited by Motiva - 2018 Jun 27 at 5:19am
Back to Top
MaximeA View Drop Down
Forum Moderator
Forum Moderator

Forum Moderator

Joined: 2018 Jan 04
Location: France - Nantes
Online Status: Offline
Posts: 119
Direct Link To This Post Posted: 2018 Jun 29 at 5:31am
Hi Motiva,

Actually, you can catch a change in a scene by catching EVMSG_CHANGE, which is triggered by any change in the scene.
To catch such a message you have two options, first to implement a MessageData plugin or either a GeDialog where both of these class have a CoreMessage function where you can listen for such EVMSG_CHANGE .

Then after is up to you to read the current FPS value for the current value, check if it's different and then do the change/send a message to a particular object.

If you have any questions, feel free to ask :)
SDK Specialist
Back to Top

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.61 [Free Express Edition]
Copyright ©2001-2009 Web Wiz

This page was generated in 0.094 seconds.