add_field method

add_field

Add a new vertex field

def add_field(self, data_type, semantic, index, alias):
    ...
ParameterTypeDescription
data_typeVertexFieldDataTypeThe data type of the vertex field
semanticVertexFieldSemanticHow will this field used for
indexintThe index for same field semantic, -1 for auto-generation
aliasstrThe alias name of the field

See Also