Swiftpack.co - maxxfrazer/RealityGeometries as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by maxxfrazer.
maxxfrazer/RealityGeometries v1.0.2
A collection of additional geometries ready for use in RealityKit 2
⭐️ 44
🕓 43 weeks ago
iOS macOS macCatalyst
.package(url: "https://github.com/maxxfrazer/RealityGeometries.git", from: "v1.0.2")


Add more geometries to your RealityKit projects

By default, the only shapes available in RealityKit are a Sphere, Cuboid and Plane (with 4 vertices). Until iOS 15 the only clean way to include more geometries in your project is to load them from a USDZ file, which could unnecessarily increase the size of your app, especially when the shape you want to add is a basic one such as a cylinder or cone.

RealityGeometries is a solution to increase the basic mesh offering from RealityKit.

Included in RealityGeometries

  • Cylinder
  • Cone
  • Plane (with more vertices)
  • Path
  • Torus

This repository is open to pull requests as well as feature requests.

More Images


Stars: 44
Last commit: 2 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Release Notes

Fix flipped images
32 weeks ago
  • Fixes issue raised in #3 where images appeared backwards.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics