共用方式為


SCNNode.EnumerateHierarchy(SCNNodeHandler) 方法

定義

以遞迴方式在此節點上和每個節點的子系上執行提供的 handler

[Foundation.Export("enumerateHierarchyUsingBlock:")]
[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 void EnumerateHierarchy (SceneKit.SCNNodeHandler handler);
abstract member EnumerateHierarchy : SceneKit.SCNNodeHandler -> unit
override this.EnumerateHierarchy : SceneKit.SCNNodeHandler -> unit

參數

handler
SCNNodeHandler
屬性

適用於