Structure

SCNPhysicsShape.ShapeType

Values for the type key specifying the level of detail that SceneKit uses when creating a physics shape based on a geometry.

Declaration

struct ShapeType

Topics

Type Properties

static let boundingBox: SCNPhysicsShape.ShapeType

The physics shape is the smallest box containing the geometry.

static let concavePolyhedron: SCNPhysicsShape.ShapeType

The physics shape is a concave polyhedron closely following the surface of the geometry.

static let convexHull: SCNPhysicsShape.ShapeType

The physics shape is a convex polyhedron roughly enclosing the geometry.

Relationships

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software