Geometry.CreateElementUV

CreateElementUV(TextureMapping)

Creates a VertexElementUV with given texture mapping type.

public VertexElementUV CreateElementUV(TextureMapping uvMapping)
ParameterTypeDescription
uvMappingTextureMappingWhich texture mapping type to create

Return Value

Created element uv

See Also


CreateElementUV(TextureMapping, MappingMode, ReferenceMode)

Creates a VertexElementUV with given texture mapping type.

public VertexElementUV CreateElementUV(TextureMapping uvMapping, MappingMode mappingMode, 
    ReferenceMode referenceMode)
ParameterTypeDescription
uvMappingTextureMappingWhich texture mapping type to create
mappingModeMappingModeDefault mapping mode
referenceModeReferenceModeDefault reference mode

Return Value

Created element uv

See Also