PlanetKitMTKViewResolution
public class PlanetKitMTKViewResolution : NSObject
A class representing the resolution of a PlanetKitMTKView.
-
The width of the resolution.
Declaration
Swift
@objc public let width: Int
-
The height of the resolution.
Declaration
Swift
@objc public let height: Int
-
The rotation of the video.
Declaration
Swift
@objc public let rotation: PlanetKitVideoRotation
-
Compares the current instance with another instance for equality.
Declaration
Swift
public override func isEqual(_ object: Any?) -> Bool
Parameters
object
The object to compare with the current instance.
Return Value
true
if the objects are equal, otherwisefalse
. -
A string representation of the resolution.
Declaration
Swift
public override var description: String { get }