create_element_uv method

create_element_uv

Creates a VertexElementUV with given texture mapping type.

Returns

Created element uv

def create_element_uv(self, uv_mapping):
    ...
ParameterTypeDescription
uv_mappingTextureMappingWhich texture mapping type to create

create_element_uv

Creates a VertexElementUV with given texture mapping type.

Returns

Created element uv

def create_element_uv(self, uv_mapping, mapping_mode, reference_mode):
    ...
ParameterTypeDescription
uv_mappingTextureMappingWhich texture mapping type to create
mapping_modeMappingModeDefault mapping mode
reference_modeReferenceModeDefault reference mode

See Also