VertexElementSmoothingGroup class

VertexElementSmoothingGroup class

A smoothing group is a group of polygons in a polygon mesh which should appear to form a smooth surface. Some early 3d modeling software like 3D studio max for DOS used smoothing group to void storing normal vector for each mesh vertex.

Inheritance: VertexElementSmoothingGroupVertexElementIntsTemplateVertexElement

The VertexElementSmoothingGroup type exposes the following members:

Constructors

ConstructorDescription
__init__(self)Initializes a new instance of the VertexElementSmoothingGroup class.

Properties

PropertyDescription
vertex_element_typeGets the type of the VertexElement
nameGets or sets the name.
mapping_modeGets or sets how the element is mapped.
reference_modeGets or sets how the element is referenced.

Methods

MethodDescription
set_indices(self, data)Load indices
clear(self)Removes all elements from the direct and the index arrays.
copy_to(self, target)Copies data to specified element
set_data(self, data)Load data

See Also