GPencilTriangle(bpy_struct)

base class — bpy_struct

class bpy.types.GPencilTriangle(bpy_struct)

Triangulation data for Grease Pencil fills

uv1

First triangle vertex texture coordinates

Type:float array of 2 items in [-inf, inf], default (0.0, 0.0), (readonly)
uv2

Second triangle vertex texture coordinates

Type:float array of 2 items in [-inf, inf], default (0.0, 0.0), (readonly)
uv3

Third triangle vertex texture coordinates

Type:float array of 2 items in [-inf, inf], default (0.0, 0.0), (readonly)
v1

First triangle vertex index

Type:int in [-inf, inf], default 0, (readonly)
v2

Second triangle vertex index

Type:int in [-inf, inf], default 0, (readonly)
v3

Third triangle vertex index

Type:int in [-inf, inf], default 0, (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