ScannerApp-Swift Documentation

Class Camera​Info

class CameraInfo: Encodable  

camera info data holder

%3 CameraInfo CameraInfo Encodable Encodable CameraInfo->Encodable

Conforms To

Encodable

Initializers

init(timestamp:​intrinsics:​transform:​euler​Angles:​exposure​Duration:​)

internal init(timestamp: TimeInterval, intrinsics: simd_float3x3, transform: simd_float4x4, eulerAngles: simd_float3, exposureDuration: TimeInterval)  

Methods

get​Json​Encoding()

func getJsonEncoding() -> String  

get camera info in json format

to​Quaternion(euler​Angles:​)

static func toQuaternion(eulerAngles: simd_float3) -> simd_float4