Instance Property


The extent of the floor along its x-axis. Animatable.


var width: CGFloat { get set }


The floor is centered in its local coordinate system. For example, a floor of width 10.0 extends from -5.0 to 5.0 along the x-axis. The default width is zero, indicating that the floor's width is infinite.

You can animate changes to this property’s value. See Animating SceneKit Content.

See Also

Adjusting a Floor's Size

var length: CGFloat

The extent of the floor along its z-axis. Animatable.