Blender V4.3
wmTimer Struct Reference

#include <WM_types.hh>

Public Attributes

wmTimernext
 
wmTimerprev
 
wmWindowwin
 
double time_step
 
int event_type
 
wmTimerFlags flags
 
void * customdata
 
double time_duration
 
double time_delta
 
double time_last
 
double time_next
 
double time_start
 
bool sleep
 

Detailed Description

Definition at line 909 of file WM_types.hh.

Member Data Documentation

◆ customdata

◆ event_type

int wmTimer::event_type

Set by timer user, goes to event system.

Definition at line 918 of file WM_types.hh.

Referenced by WM_event_timer_add(), and WM_event_timer_add_notifier().

◆ flags

wmTimerFlags wmTimer::flags

Various flags controlling timer options, see below.

Definition at line 920 of file WM_types.hh.

Referenced by WM_event_timer_add_notifier(), WM_event_timer_free_data(), WM_event_timer_remove(), and WM_event_timer_sleep().

◆ next

wmTimer* wmTimer::next

Definition at line 910 of file WM_types.hh.

◆ prev

wmTimer * wmTimer::prev

Definition at line 910 of file WM_types.hh.

◆ sleep

bool wmTimer::sleep

Internal, put timers to sleep when needed.

Definition at line 936 of file WM_types.hh.

Referenced by WM_event_timer_sleep().

◆ time_delta

double wmTimer::time_delta

Time since previous step in seconds.

Definition at line 927 of file WM_types.hh.

Referenced by blender::ed::space_node::node_insert_offset_modal(), and screen_animation_step_invoke().

◆ time_duration

◆ time_last

double wmTimer::time_last

Internal, last time timer was activated.

Definition at line 930 of file WM_types.hh.

Referenced by screen_animation_step_invoke(), WM_event_timer_add(), and WM_event_timer_add_notifier().

◆ time_next

double wmTimer::time_next

Internal, next time we want to activate the timer.

Definition at line 932 of file WM_types.hh.

Referenced by WM_event_timer_add(), and WM_event_timer_add_notifier().

◆ time_start

double wmTimer::time_start

Internal, when the timer started.

Definition at line 934 of file WM_types.hh.

Referenced by WM_event_timer_add(), and WM_event_timer_add_notifier().

◆ time_step

double wmTimer::time_step

Set by timer user.

Definition at line 916 of file WM_types.hh.

Referenced by screen_animation_step_invoke(), WM_event_timer_add(), WM_event_timer_add_notifier(), and WM_jobs_start().

◆ win

wmWindow* wmTimer::win

Window this timer is attached to (optional).

Definition at line 913 of file WM_types.hh.

Referenced by ViewOpsData::end_navigation(), image_view_zoom_exit(), view_zoom_exit(), WM_event_timer_add(), and WM_event_timer_add_notifier().


The documentation for this struct was generated from the following file: