Contents

init(size:edgeRadius:)

Creates a rounded box shape with the given size and edge radius.

Declaration

init(size: SIMD3<Float>, edgeRadius: Float)

Parameters

  • size:

    The size of the box along each axis.

  • edgeRadius:

    The radius of the rounded edges.