27 lines
1.3 KiB
Swift
27 lines
1.3 KiB
Swift
// WARNING: Please don't edit this file. It was generated by Swift/WinRT v0.0.1
|
|
// swiftlint:disable all
|
|
import Foundation
|
|
@_spi(WinRTInternal) @_spi(WinRTImplements) import WindowsFoundation
|
|
import CWinRT
|
|
|
|
private var IID___x_ABI_CWindows_CPerception_CSpatial_CISpatialCoordinateSystem: WindowsFoundation.IID {
|
|
.init(Data1: 0x69EBCA4B, Data2: 0x60A3, Data3: 0x3586, Data4: ( 0xA6,0x53,0x59,0xA7,0xBD,0x67,0x6D,0x07 ))// 69EBCA4B-60A3-3586-A653-59A7BD676D07
|
|
}
|
|
|
|
public enum __ABI_Windows_Perception_Spatial {
|
|
public class ISpatialCoordinateSystem: WindowsFoundation.IInspectable {
|
|
override public class var IID: WindowsFoundation.IID { IID___x_ABI_CWindows_CPerception_CSpatial_CISpatialCoordinateSystem }
|
|
|
|
internal func TryGetTransformToImpl(_ target: UWP.SpatialCoordinateSystem?) throws -> WindowsFoundation.Matrix4x4? {
|
|
let (value) = try ComPtrs.initialize { valueAbi in
|
|
_ = try perform(as: __x_ABI_CWindows_CPerception_CSpatial_CISpatialCoordinateSystem.self) { pThis in
|
|
try CHECKED(pThis.pointee.lpVtbl.pointee.TryGetTransformTo(pThis, RawPointer(target), &valueAbi))
|
|
}
|
|
}
|
|
return UWP.__x_ABI_C__FIReference_1___x_ABI_CWindows__CFoundation__CNumerics__CMatrix4x4Wrapper.unwrapFrom(abi: value)
|
|
}
|
|
|
|
}
|
|
|
|
}
|