Blender V5.0
blender::ed::sculpt_paint::PositionDeformData Class Reference

#include <sculpt_intern.hh>

Public Member Functions

 PositionDeformData (const Depsgraph &depsgraph, Object &object_orig)
void deform (MutableSpan< float3 > translations, Span< int > verts) const

Public Attributes

Span< float3eval

Detailed Description

This class represents an API to deform original positions based on translations created from evaluated positions. It should be constructed once outside of a parallel context.

Definition at line 82 of file sculpt_intern.hh.

Constructor & Destructor Documentation

◆ PositionDeformData()

Member Function Documentation

◆ deform()

void blender::ed::sculpt_paint::PositionDeformData::deform ( MutableSpan< float3 > translations,
Span< int > verts ) const

Member Data Documentation

◆ eval

Span<float3> blender::ed::sculpt_paint::PositionDeformData::eval

Positions from after procedural deformation from modifiers, used to build the pbvh::Tree. Translations are built for these values, then applied to the original positions. When there are no deforming modifiers, this will reference the same array as #orig.

Definition at line 89 of file sculpt_intern.hh.

Referenced by PositionDeformData().


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