Geometry.CreateElementUV

CreateElementUV(TextureMapping)

创建一个具有给定纹理映射类型的 VertexElementUV

public VertexElementUV CreateElementUV(TextureMapping uvMapping)
参数类型描述
uvMappingTextureMapping要创建的纹理映射类型

返回值

已创建 uv 元素

另请参见


CreateElementUV(TextureMapping, MappingMode, ReferenceMode)

创建一个具有给定纹理映射类型的 VertexElementUV

public VertexElementUV CreateElementUV(TextureMapping uvMapping, MappingMode mappingMode, 
    ReferenceMode referenceMode)
参数类型描述
uvMappingTextureMapping要创建的纹理映射类型
mappingModeMappingMode默认映射模式
referenceModeReferenceMode默认引用模式

返回值

已创建 uv 元素

另请参见