|
Blender V4.3
|
#include <BLI_sub_frame.hh>
Public Member Functions | |
| SubFrame (const int frame=0, float subframe=0.0f) | |
| SubFrame (const float frame) | |
| int | frame () const |
| float | subframe () const |
| operator float () const | |
| operator double () const | |
| uint64_t | hash () const |
Static Public Member Functions | |
| static SubFrame | min () |
| static SubFrame | max () |
Friends | |
| bool | operator< (const SubFrame &a, const SubFrame &b) |
| bool | operator<= (const SubFrame &a, const SubFrame &b) |
| bool | operator> (const SubFrame &a, const SubFrame &b) |
| bool | operator>= (const SubFrame &a, const SubFrame &b) |
Contains an integer frame number and a subframe float in the range [0, 1).
Definition at line 19 of file BLI_sub_frame.hh.
Definition at line 25 of file BLI_sub_frame.hh.
References BLI_assert, and subframe().
|
inline |
Definition at line 31 of file BLI_sub_frame.hh.
|
inline |
Definition at line 33 of file BLI_sub_frame.hh.
|
inline |
Definition at line 63 of file BLI_sub_frame.hh.
References blender::get_default_hash().
|
inlinestatic |
Definition at line 58 of file BLI_sub_frame.hh.
References INT32_MAX.
|
inlinestatic |
Definition at line 53 of file BLI_sub_frame.hh.
References INT32_MIN.
|
inlineexplicit |
Definition at line 48 of file BLI_sub_frame.hh.
References double().
|
inlineexplicit |
Definition at line 43 of file BLI_sub_frame.hh.
References float.
|
inline |
Definition at line 38 of file BLI_sub_frame.hh.
Referenced by SubFrame().
Definition at line 70 of file BLI_sub_frame.hh.
Definition at line 75 of file BLI_sub_frame.hh.
Definition at line 80 of file BLI_sub_frame.hh.
Definition at line 85 of file BLI_sub_frame.hh.