UPaintBrushSettings

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UPaintBrushSettings

References

Module

MeshPaint

Header

/Engine/Source/Editor/MeshPaint/Public/MeshPaintSettings.h

Include

#include "MeshPaintSettings.h"

Syntax

class UPaintBrushSettings : public UObject

Variables

Name Description

Public variable

bool

 

bEnableFlow

Enables "Flow" painting where paint is continually applied from the brush every tick

Public variable

bool

 

bOnlyFrontFacingTriangles

Whether back-facing triangles should be ignored

Public variable

float

 

BrushFalloffAmount

Amount of falloff to apply (0.0 - 1.0)

Protected variable

float

 

BrushRadius

Radius of the Brush used for Painting

Public variable

float

 

BrushRadiusMax

Public variable

float

 

BrushRadiusMin

Min and Max brush radius retrieved from config

Public variable

float

 

BrushStrength

Strength of the brush (0.0 - 1.0)

Public variable

EMeshPaintColor...

 

ColorViewMode

Color view mode used to display Vertex Colors

Constructors

Name Description

Public function

UPaintBrushSettings

(
    const FObjectInitializer& ObjectIn...
)

Destructors

Name Description

Public function

~UPaintBrushSettings()

Functions

Name Description

Public function Const

float

 

GetBrushFalloff()

Public function Const

float

 

GetBrushRadius()

Public function Const

float

 

GetBrushStrength()

Public function

void

 

SetBrushFalloff

(
    float InFalloff
)

Public function

void

 

SetBrushRadius

(
    float InRadius
)

Public function

void

 

SetBrushStrength

(
    float InStrength
)

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally