|
Blender V5.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)=default |
| 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 22 of file BLI_sub_frame.hh.
|
inline |
Definition at line 28 of file BLI_sub_frame.hh.
References blender::BLI_assert(), frame(), and subframe().
Referenced by max(), min(), operator<, operator<=, operator==, operator>, operator>=, and SubFrame().
|
inline |
Definition at line 34 of file BLI_sub_frame.hh.
References floorf, blender::fractf(), frame(), and SubFrame().
|
inline |
Definition at line 36 of file BLI_sub_frame.hh.
Referenced by blender::ed::object::bake_simulation::bake_geometry_nodes_startjob(), blender::ed::object::bake_simulation::simulate_to_frame_startjob(), SubFrame(), and SubFrame().
|
inline |
Definition at line 66 of file BLI_sub_frame.hh.
References blender::get_default_hash().
|
inlinestatic |
Definition at line 61 of file BLI_sub_frame.hh.
References INT32_MAX, and SubFrame().
|
inlinestatic |
Definition at line 56 of file BLI_sub_frame.hh.
References INT32_MIN, and SubFrame().
|
inlineexplicit |
Definition at line 51 of file BLI_sub_frame.hh.
|
inlineexplicit |
Definition at line 46 of file BLI_sub_frame.hh.
References float.
|
inline |
Definition at line 41 of file BLI_sub_frame.hh.
Referenced by blender::ed::object::bake_simulation::bake_geometry_nodes_startjob(), blender::ed::object::bake_simulation::simulate_to_frame_startjob(), and SubFrame().
Definition at line 73 of file BLI_sub_frame.hh.
References b, and SubFrame().
Definition at line 78 of file BLI_sub_frame.hh.
References b, and SubFrame().
References b, and SubFrame().
Definition at line 83 of file BLI_sub_frame.hh.
References b, and SubFrame().
Definition at line 88 of file BLI_sub_frame.hh.
References b, and SubFrame().