TextureOptions

public struct TextureOptions : Equatable

Type that represents texture options.

  • Creates an instance of TextureOptions with an image.

    Declaration

    Swift

    public init(image: UIImage)

    Parameters

    image

    The image of the texture.

  • The image of the texture.

    Declaration

    Swift

    public var image: UIImage
  • Determines if the image is an overlay

    Declaration

    Swift

    public var isImageOverlay: Bool
  • Determines if the image is an overlay

    Declaration

    Swift

    @available(*, deprecated, renamed: "isImageOverlay", message: "This API is deprecated and will be removed with the next major release.")
    public var isOverlayImage: Bool