Blender V5.0
WeightedNormalData Struct Reference

Public Attributes

int verts_num
blender::Span< blender::float3vert_positions
blender::Span< blender::float3vert_normals
blender::MutableSpan< bool > sharp_edges
blender::Span< int > corner_verts
blender::Span< int > corner_edges
blender::GroupedSpan< int > vert_to_face_map
blender::Span< int > loop_to_face
blender::MutableSpan< blender::short2clnors
blender::OffsetIndices< int > faces
blender::Span< blender::float3face_normals
blender::VArraySpan< bool > sharp_faces
blender::VArray< int > face_strength
const MDeformVertdvert
int defgrp_index
bool use_invert_vgroup
float weight
short mode
float cached_inverse_powers_of_weight [NUM_CACHED_INVERSE_POWERS_OF_WEIGHT]
blender::Span< WeightedNormalDataAggregateItemitems_data
ModePairmode_pair

Detailed Description

Definition at line 68 of file MOD_weighted_normal.cc.

Member Data Documentation

◆ cached_inverse_powers_of_weight

float WeightedNormalData::cached_inverse_powers_of_weight[NUM_CACHED_INVERSE_POWERS_OF_WEIGHT]

Definition at line 94 of file MOD_weighted_normal.cc.

Referenced by aggregate_item_normal().

◆ clnors

blender::MutableSpan<blender::short2> WeightedNormalData::clnors

Definition at line 79 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal(), and modify_mesh().

◆ corner_edges

blender::Span<int> WeightedNormalData::corner_edges

Definition at line 76 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal(), and modify_mesh().

◆ corner_verts

blender::Span<int> WeightedNormalData::corner_verts

◆ defgrp_index

int WeightedNormalData::defgrp_index

Definition at line 87 of file MOD_weighted_normal.cc.

Referenced by aggregate_item_normal(), and modify_mesh().

◆ dvert

const MDeformVert* WeightedNormalData::dvert

◆ face_normals

blender::Span<blender::float3> WeightedNormalData::face_normals

◆ face_strength

blender::VArray<int> WeightedNormalData::face_strength

◆ faces

◆ items_data

blender::Span<WeightedNormalDataAggregateItem> WeightedNormalData::items_data

Definition at line 96 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal().

◆ loop_to_face

blender::Span<int> WeightedNormalData::loop_to_face

Definition at line 78 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal(), and modify_mesh().

◆ mode

short WeightedNormalData::mode

Definition at line 91 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal(), and modify_mesh().

◆ mode_pair

ModePair* WeightedNormalData::mode_pair

◆ sharp_edges

blender::MutableSpan<bool> WeightedNormalData::sharp_edges

Definition at line 73 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal(), and modify_mesh().

◆ sharp_faces

blender::VArraySpan<bool> WeightedNormalData::sharp_faces

Definition at line 83 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal(), and modify_mesh().

◆ use_invert_vgroup

bool WeightedNormalData::use_invert_vgroup

Definition at line 88 of file MOD_weighted_normal.cc.

Referenced by aggregate_item_normal(), and modify_mesh().

◆ vert_normals

blender::Span<blender::float3> WeightedNormalData::vert_normals

Definition at line 72 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal(), and modify_mesh().

◆ vert_positions

blender::Span<blender::float3> WeightedNormalData::vert_positions

◆ vert_to_face_map

blender::GroupedSpan<int> WeightedNormalData::vert_to_face_map

Definition at line 77 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal(), and modify_mesh().

◆ verts_num

int WeightedNormalData::verts_num

Definition at line 69 of file MOD_weighted_normal.cc.

Referenced by apply_weights_vertex_normal(), and modify_mesh().

◆ weight

float WeightedNormalData::weight

Definition at line 90 of file MOD_weighted_normal.cc.

Referenced by aggregate_item_normal(), and modify_mesh().


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