다음을 통해 공유


SCNView.Prepare 메서드

정의

오버로드

Prepare(NSObject[], Action<Boolean>)

애니메이션이 적용된 새 장면을 원활하게 렌더링할 수 있는 콘텐츠를 준비합니다.

Prepare(NSObject, Func<Boolean>)

를 반환하거나 를 반환 true하여 준비를 계속하도록 허용하여 장면 준비를 중지하는 데 사용되는 매개 변수가 없는 처리기를 false제공합니다.

Prepare(NSObject[], Action<Boolean>)

애니메이션이 적용된 새 장면을 원활하게 렌더링할 수 있는 콘텐츠를 준비합니다.

[Foundation.Export("prepareObjects:withCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void Prepare (Foundation.NSObject[] objects, Action<bool> completionHandler);
[Foundation.Export("prepareObjects:withCompletionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void Prepare (Foundation.NSObject[] objects, Action<bool> completionHandler);
abstract member Prepare : Foundation.NSObject[] * Action<bool> -> unit
override this.Prepare : Foundation.NSObject[] * Action<bool> -> unit

매개 변수

objects
NSObject[]

준비할 개체입니다.

completionHandler
Action<Boolean>

모든 장면 리소스의 준비에 true 성공하거나 false 그렇지 않은 경우 수신하는 처리기입니다.

구현

특성

적용 대상

Prepare(NSObject, Func<Boolean>)

를 반환하거나 를 반환 true하여 준비를 계속하도록 허용하여 장면 준비를 중지하는 데 사용되는 매개 변수가 없는 처리기를 false제공합니다.

[Foundation.Export("prepareObject:shouldAbortBlock:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool Prepare (Foundation.NSObject obj, Func<bool> abortHandler);
[Foundation.Export("prepareObject:shouldAbortBlock:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 8, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual bool Prepare (Foundation.NSObject obj, Func<bool> abortHandler);
abstract member Prepare : Foundation.NSObject * Func<bool> -> bool
override this.Prepare : Foundation.NSObject * Func<bool> -> bool

매개 변수

obj
NSObject
abortHandler
Func<Boolean>

반환

구현

특성

적용 대상