width
The extent of the pyramid along its x-axis. Animatable.
Declaration
var width: CGFloat { get set }Discussion
The pyramid is centered in its local coordinate system, and the width and length of the pyramid are the dimensions of its rectangular base. For example, a pyramid of width 10.0 extends from -5.0 to 5.0 along the x-axis. The default width is 1.0. A width of zero or less creates an empty geometry.
You can animate changes to this property’s value. See Animating SceneKit Content.