MeshLoopTriangle(bpy_struct)

base class — bpy_struct

class bpy.types.MeshLoopTriangle(bpy_struct)

Tessellated triangle in a Mesh data-block

area

Area of this triangle

Type

float in [0, inf], default 0.0, (readonly)

index

Index of this loop triangle

Type

int in [0, inf], default 0, (readonly)

loops

Indices of mesh loops that make up the triangle

Type

int array of 3 items in [0, inf], default (0, 0, 0), (readonly)

material_index

Material slot index of this triangle

Type

int in [0, inf], default 0, (readonly)

normal

Local space unit length normal vector for this triangle

Type

mathutils.Vector of 3 items in [-1, 1], default (0.0, 0.0, 0.0), (readonly)

polygon_index

Index of mesh polygon that the triangle is a part of

Type

int in [0, inf], default 0, (readonly)

split_normals

Local space unit length split normals vectors of the vertices of this triangle (must be computed beforehand using calc_normals_split or calc_tangents)

Type

float multi-dimensional array of 3 * 3 items in [-1, 1], default ((0.0, 0.0, 0.0), (0.0, 0.0, 0.0), (0.0, 0.0, 0.0)), (readonly)

use_smooth
Type

boolean, default False, (readonly)

vertices

Indices of triangle vertices

Type

int array of 3 items in [0, inf], default (0, 0, 0), (readonly)

center

The midpoint of the face.

(readonly)

edge_keys

(readonly)

classmethod bl_rna_get_subclass(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The RNA type or default when not found.

Return type

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

Inherited Properties

Inherited Functions

References