ARSKViewDelegate.ShouldRender(SKView, Double) Method

Definition

Developers may override this method to programmatically specify whether rendering should occur in the specified view at time.

[Foundation.Export("view:shouldRenderAtTime:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool ShouldRender (SpriteKit.SKView view, double time);
abstract member ShouldRender : SpriteKit.SKView * double -> bool
override this.ShouldRender : SpriteKit.SKView * double -> bool

Parameters

view
SKView

The view that is rendering the scene.

time
Double

The time, in seconds, used as a reference for rendering.

Returns

true if the computer-imagery should be rendered at this time.

Attributes

Applies to