ToolResizeData::ToolResizeFalloffData Struct Reference

#include <c4d_baselist.h>

Public Member Functions

 ToolResizeFalloffData ()
 

Public Attributes

Bool show
 
Float opacity
 
Float size
 
Float hardness
 
Vector color
 
Matrix position
 
Bool is_3D
 
Bool dirty
 
SplineDatafalloff
 
BaseBitmapcustom_shape
 

Constructor & Destructor Documentation

◆ ToolResizeFalloffData()

Member Data Documentation

◆ show

Bool show

Set to true to show the falloff for the brush increment to force dirtiness for falloff or custom_shape.

◆ opacity

Float opacity

The opacity of the brush display preview.

◆ size

Float size

The size of the brush display preview.

◆ hardness

Float hardness

The hardness of the brush display preview.

◆ color

Vector color

The color for the brush display preview.

◆ position

Matrix position

The center of the falloff, just use Matrix::off for 2D brushes.

◆ is_3D

Bool is_3D

Set to true to optionally display the falloff in 3D.

◆ dirty

Bool dirty

Set to true to redraw the custom shape.

◆ falloff

SplineData* falloff

Custom falloff spline, allocate and set in RESIZE_PASS_GENERATEFALLOFF. The caller owns it and must release in RESIZE_PASS_END.

◆ custom_shape

BaseBitmap* custom_shape

Allocate in RESIZE_PASS_INIT to use as a custom shape instead of the normal one, fill in RESIZE_PASS_GENERATEFALLOFF. The caller owns it and must release in RESIZE_PASS_END.