Contents

init(width:height:depth:)

Creates a size structure from the specified floating-point values.

Declaration

init<T>(width: T, height: T, depth: T) where T : BinaryFloatingPoint

Parameters

  • width:

    A floating-point value that specifies the width.

  • height:

    A floating-point value that specifies the height.

  • depth:

    A floating-point value that specifies the depth.

See Also

Creating a 3D size structure