Blender V5.3
blender::StencilControlData Struct Reference

Public Attributes

float init_mouse [2] = {0}
float init_spos [2] = {0}
float init_sdim [2] = {0}
float init_rot = 0.0f
float init_angle = 0.0f
float lenorig = 0.0f
float area_size [2] = {0}
StencilControlMode mode = STENCIL_TRANSLATE
StencilConstraint constrain_mode = STENCIL_CONSTRAINT_NONE
int mask = 0
Brush * br = nullptr
float * dim_target = nullptr
float * rot_target = nullptr
float * pos_target = nullptr
short launch_event = 0

Detailed Description

Definition at line 131 of file paint_ops.cc.

Member Data Documentation

◆ area_size

float blender::StencilControlData::area_size[2] = {0}

◆ br

Brush* blender::StencilControlData::br = nullptr

◆ constrain_mode

StencilConstraint blender::StencilControlData::constrain_mode = STENCIL_CONSTRAINT_NONE

◆ dim_target

float* blender::StencilControlData::dim_target = nullptr

◆ init_angle

float blender::StencilControlData::init_angle = 0.0f

◆ init_mouse

float blender::StencilControlData::init_mouse[2] = {0}

◆ init_rot

float blender::StencilControlData::init_rot = 0.0f

◆ init_sdim

float blender::StencilControlData::init_sdim[2] = {0}

◆ init_spos

float blender::StencilControlData::init_spos[2] = {0}

◆ launch_event

short blender::StencilControlData::launch_event = 0

◆ lenorig

float blender::StencilControlData::lenorig = 0.0f

◆ mask

int blender::StencilControlData::mask = 0

We are tweaking mask or color stencil.

Definition at line 142 of file paint_ops.cc.

Referenced by blender::stencil_control_invoke(), and blender::stencil_set_target().

◆ mode

StencilControlMode blender::StencilControlData::mode = STENCIL_TRANSLATE

◆ pos_target

float* blender::StencilControlData::pos_target = nullptr

◆ rot_target

float* blender::StencilControlData::rot_target = nullptr

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