Documentation

​
​

Development

User Acquisition

Monetization

Industry

Asset Transformer SDK

2026.1

Supported
​

User Manual

Python API

C# API

Changelog

Discussions

Asset Transformer SDK

2026.1

Supported
​

​
​
Get started
  • System requirements
  • Licensing
  • Setup
  • Migrate from Scenario Processor
Framework
  • Framework
  • Preferences
Input/output files
  • Supported formats
  • Import files
  • Export files
  • Export textures
  • CAD vs Mesh
Scene
  • Product structure
  • Occurrence
  • Component
  • Material
  • Image
Algorithms
  • CAD
  • Healing
  • Optimization
  • Combine and bake
  • Reconstruction
  • UVs
    • Project on AABB
    • Normalize
    • SegmentMesh
    • Check UV for overlaps
    • Check for normalized UV channels
    • Check for existence of UV channels
    • Repack UV islands
    • Merge UV islands (affine)
    • Merge UV islands (relaxed)
    • Unwrap UV
Viewer
  • Viewer
Pixyz UI
  • Setup
  • Overview
  • Create a custom UI
Guidelines
  • Data preparation
  • Process point clouds
Debug and diagnose
  • Log files
  • Debug best practices
Other
  • Samples
  • Glossary
  1. Asset Transformer SDK (ex Pixyz)

Check for existence of UV channels

Use this feature to check if a 3D asset has UV coordinates, which are essential for texture mapping and rendering.
Read time 1 minute
Last updated 9 months ago

API function: polygonal.hasUVs(mesh, channel) -> bool
Returns true if the required UV channel is defined in the mesh, false otherwise.

Parameters

  • mesh: the mesh for which UV channel existence must be checked.
  • uvChannel (default -1): the UV channel to verify. If -1 is provided, the function returns true if any UV channel is defined in the mesh.

Copyright © 2026 Unity Technologies
LegalPrivacy PolicyCookiesDocumentation Terms of UseDo Not Sell or Share My Personal InformationYour Privacy Choices (Cookie Settings)

"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S and elsewhere (more info here). Other names or brands are trademarks of their respective owners.

Some pages are machine-translated for convenience, and may contain inaccuracies. In the event of conflicting information, the English version is authoritative.

  • On this page
    • Parameters


Report a problem with this page