Skip to content

Commit

Permalink
Add chart_image to the usage examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mworchel committed Oct 10, 2021
1 parent 1a7a138 commit ebdb99a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,12 @@ atlas[i] # Convenience binding for `atlas.get_mesh`
atlas.width # Width of the atlas
atlas.height # Height of the atlas

# The image requires passing custom PackOptions:
# pack_options = xatlas.PackOptions()
# pack_options.create_image = True
# atlas.generate(pack_options=pack_options)
atlas.chart_image # Debug image of the atlas

... # See xatlas documentation for all properties
```

Expand Down

0 comments on commit ebdb99a

Please sign in to comment.