Blender V5.3
blender::wmTimer Struct Reference

#include <WM_types.hh>

Public Attributes

wmTimer * next
wmTimer * prev
wmWindow * win
double time_step
wmEventType 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 1022 of file WM_types.hh.

Member Data Documentation

◆ customdata

◆ event_type

wmEventType blender::wmTimer::event_type

Set by timer user, goes to event system.

Definition at line 1031 of file WM_types.hh.

Referenced by blender::WM_event_timer_add(), and blender::WM_event_timer_add_notifier().

◆ flags

wmTimerFlags blender::wmTimer::flags

◆ next

wmTimer* blender::wmTimer::next

Definition at line 1023 of file WM_types.hh.

◆ prev

wmTimer * blender::wmTimer::prev

Definition at line 1023 of file WM_types.hh.

◆ sleep

bool blender::wmTimer::sleep

Internal, put timers to sleep when needed.

Definition at line 1049 of file WM_types.hh.

Referenced by blender::WM_event_timer_sleep().

◆ time_delta

double blender::wmTimer::time_delta

Time since previous step in seconds.

Definition at line 1040 of file WM_types.hh.

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

◆ time_duration

◆ time_last

double blender::wmTimer::time_last

Internal, last time timer was activated.

Definition at line 1043 of file WM_types.hh.

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

◆ time_next

double blender::wmTimer::time_next

Internal, next time we want to activate the timer.

Definition at line 1045 of file WM_types.hh.

Referenced by blender::WM_event_timer_add(), and blender::WM_event_timer_add_notifier().

◆ time_start

double blender::wmTimer::time_start

Internal, when the timer started.

Definition at line 1047 of file WM_types.hh.

Referenced by blender::WM_event_timer_add(), and blender::WM_event_timer_add_notifier().

◆ time_step

double blender::wmTimer::time_step

◆ win

wmWindow* blender::wmTimer::win

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