SKScene.ConvertPointFromView(CGPoint) 方法

定义

point从视图的坐标系转换为场景的坐标系。

[Foundation.Export("convertPointFromView:")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual CoreGraphics.CGPoint ConvertPointFromView (CoreGraphics.CGPoint point);
abstract member ConvertPointFromView : CoreGraphics.CGPoint -> CoreGraphics.CGPoint
override this.ConvertPointFromView : CoreGraphics.CGPoint -> CoreGraphics.CGPoint

参数

point
CGPoint

返回

属性

适用于