Blender  V3.3
Public Attributes | List of all members
blender::geometry::AddCurvesOnMeshInputs Struct Reference

#include <GEO_add_curves_on_mesh.hh>

Public Attributes

Span< float2uvs
 
bool interpolate_length = false
 
bool interpolate_shape = false
 
bool interpolate_point_count = false
 
float fallback_curve_length = 0.0f
 
int fallback_point_count = 0
 
const Meshsurface = nullptr
 
const ReverseUVSamplerreverse_uv_sampler = nullptr
 
Span< float3corner_normals_su
 
bke::CurvesSurfaceTransformstransforms = nullptr
 
KDTree_3d * old_roots_kdtree = nullptr
 
bool r_uv_error = false
 

Detailed Description

Definition at line 20 of file GEO_add_curves_on_mesh.hh.

Member Data Documentation

◆ corner_normals_su

Span<float3> blender::geometry::AddCurvesOnMeshInputs::corner_normals_su

◆ fallback_curve_length

float blender::geometry::AddCurvesOnMeshInputs::fallback_curve_length = 0.0f

◆ fallback_point_count

int blender::geometry::AddCurvesOnMeshInputs::fallback_point_count = 0

◆ interpolate_length

bool blender::geometry::AddCurvesOnMeshInputs::interpolate_length = false

Determines shape of new curves.

Definition at line 25 of file GEO_add_curves_on_mesh.hh.

Referenced by blender::ed::sculpt_paint::AddOperationExecutor::execute().

◆ interpolate_point_count

bool blender::geometry::AddCurvesOnMeshInputs::interpolate_point_count = false

◆ interpolate_shape

bool blender::geometry::AddCurvesOnMeshInputs::interpolate_shape = false

◆ old_roots_kdtree

KDTree_3d* blender::geometry::AddCurvesOnMeshInputs::old_roots_kdtree = nullptr

KD-Tree that contains the root points of existing curves. This is only necessary when interpolation is used.

Definition at line 42 of file GEO_add_curves_on_mesh.hh.

Referenced by blender::ed::sculpt_paint::AddOperationExecutor::execute().

◆ r_uv_error

bool blender::geometry::AddCurvesOnMeshInputs::r_uv_error = false

Definition at line 44 of file GEO_add_curves_on_mesh.hh.

◆ reverse_uv_sampler

const ReverseUVSampler* blender::geometry::AddCurvesOnMeshInputs::reverse_uv_sampler = nullptr

◆ surface

const Mesh* blender::geometry::AddCurvesOnMeshInputs::surface = nullptr

Information about the surface that the new curves are attached to.

Definition at line 32 of file GEO_add_curves_on_mesh.hh.

Referenced by blender::ed::sculpt_paint::AddOperationExecutor::execute().

◆ transforms

bke::CurvesSurfaceTransforms* blender::geometry::AddCurvesOnMeshInputs::transforms = nullptr

◆ uvs

Span<float2> blender::geometry::AddCurvesOnMeshInputs::uvs

UV Coordinates at which the new curves should be added.

Definition at line 22 of file GEO_add_curves_on_mesh.hh.

Referenced by blender::ed::sculpt_paint::AddOperationExecutor::execute().


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