Blender V4.5
blender::ed::sculpt_paint::StrokeCache::[struct].plane_brush Struct Reference

Public Attributes

std::optional< float3last_normal
std::optional< float3last_center
Array< float3normals
Array< float3centers
int normal_index
int center_index
bool first_time

Detailed Description

Definition at line 345 of file sculpt_intern.hh.

Member Data Documentation

◆ center_index

◆ centers

◆ 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.

◆ last_center

◆ last_normal

◆ normal_index

◆ normals


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