Contents

frustumLeft(_:right:bottom:top:near:far:at:)

Describes the bounds of the viewing solid for generating a projection matrix.

Declaration

func frustumLeft(_ left: UnsafeMutablePointer<Double>!, right: UnsafeMutablePointer<Double>!, bottom: UnsafeMutablePointer<Double>!, top: UnsafeMutablePointer<Double>!, near: UnsafeMutablePointer<Double>!, far: UnsafeMutablePointer<Double>!, at time: CMTime) throws

Parameters

  • left:

    The x coordinate for the left vertical clipping plane.

  • right:

    The x coordinate for the right vertical clipping plane.

  • bottom:

    The y coordinate for the bottom horizontal clipping plane.

  • top:

    The y coordinate for the top horizontal clipping plane.

  • near:

    The z distance to the near depth clipping plane. Value must be positive.

  • far:

    The z distance to the far depth clipping plane. Value must be positive.

  • time:

    Specified time, expressed as a CMTime, to retrieve the matrix.

See Also

Accessing the 3D Environment