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