Attribute(bpy_struct)¶
base class — bpy_struct
subclasses —
ByteColorAttribute, FloatAttribute, FloatColorAttribute, FloatVectorAttribute, IntAttribute, StringAttribute
-
class
bpy.types.Attribute(bpy_struct)¶ Geometry attribute
-
data_type¶ Type of data stored in attribute
FLOATFloat, Floating point value.INTInteger, 32 bit integer.FLOAT_VECTORVector, 3D vector with floating point values.FLOAT_COLORFloat Color, RGBA color with floating point precisions.BYTE_COLORByte Color, RGBA color with 8-bit precision.STRINGString, Text string.
- Type
enum in [‘FLOAT’, ‘INT’, ‘FLOAT_VECTOR’, ‘FLOAT_COLOR’, ‘BYTE_COLOR’, ‘STRING’], default ‘FLOAT’, (readonly)
-
domain¶ Domain of the Attribute
VERTEXVertex, Attribute on mesh vertex.EDGEEdge, Attribute on mesh edge.CORNERCorner, Attribute on mesh polygon corner.POLYGONPolygon, Attribute on mesh polygons.POINTPoint, Attribute on point.CURVECurve, Attribute on hair curve.
- Type
enum in [‘VERTEX’, ‘EDGE’, ‘CORNER’, ‘POLYGON’, ‘POINT’, ‘CURVE’], default ‘VERTEX’, (readonly)
-
name¶ Name of the Attribute
- Type
string, default “”, (never None)
-
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.Structsubclass
-
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