|
Blender V4.5
|
Public Attributes | |
| std::optional< float3 > | last_normal |
| std::optional< float3 > | last_center |
| Array< float3 > | normals |
| Array< float3 > | centers |
| int | normal_index |
| int | center_index |
| bool | first_time |
Definition at line 345 of file sculpt_intern.hh.
| int blender::ed::sculpt_paint::StrokeCache::[struct].plane_brush center_index |
| Array<float3> blender::ed::sculpt_paint::StrokeCache::[struct].plane_brush centers |
| bool blender::ed::sculpt_paint::StrokeCache::[struct].plane_brush first_time |
True if the current step is the first time the Plane brush is being evaluated.
We cannot use the generic first_time variable used by other brushes because the Plane brush uses grab_delta to compute its local matrix. Since grab_delta requires at least two stroke steps, the first step (and successive steps if the user does not move the cursor) of the Plane brush is always skipped.
| std::optional<float3> blender::ed::sculpt_paint::StrokeCache::[struct].plane_brush last_center |
| std::optional<float3> blender::ed::sculpt_paint::StrokeCache::[struct].plane_brush last_normal |
| int blender::ed::sculpt_paint::StrokeCache::[struct].plane_brush normal_index |
| Array<float3> blender::ed::sculpt_paint::StrokeCache::[struct].plane_brush normals |