SCNRenderer.GetSnapshot(Double, CGSize, SCNAntialiasingMode) SCNRenderer.GetSnapshot(Double, CGSize, SCNAntialiasingMode) Method

Definition

[Foundation.Export("snapshotAtTime:withSize:antialiasingMode:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[Foundation.Export("snapshotAtTime:withSize:antialiasingMode:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UIImage GetSnapshot (double time, CoreGraphics.CGSize size, SceneKit.SCNAntialiasingMode antialiasingMode);
abstract member GetSnapshot : double * CoreGraphics.CGSize * SceneKit.SCNAntialiasingMode -> UIKit.UIImage
override this.GetSnapshot : double * CoreGraphics.CGSize * SceneKit.SCNAntialiasingMode -> UIKit.UIImage

Parameters

time
Double Double
size
CGSize CGSize

Returns

The return type is UIImage on iOS and NSImage on MacOS.

Applies to