다음을 통해 공유


ARSKViewDelegate.ShouldRender(SKView, Double) 메서드

정의

개발자는 이 메서드를 재정의하여 에서 지정된 view 에서 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

매개 변수

view
SKView

장면을 렌더링하는 뷰입니다.

time
Double

렌더링에 대한 참조로 사용되는 시간(초)입니다.

반환

true 이때 컴퓨터 이미지를 렌더링해야 하는 경우 입니다.

특성

적용 대상