共用方式為


SCNView.IsNodeInsideFrustum(SCNNode, SCNNode) 方法

定義

傳回值,這個值會指出指定的節點是否位於場景和指定檢視點所定義的檢視範圍中。

[Foundation.Export("isNodeInsideFrustum:withPointOfView:")]
[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 IsNodeInsideFrustum (SceneKit.SCNNode node, SceneKit.SCNNode pointOfView);
[Foundation.Export("isNodeInsideFrustum:withPointOfView:")]
[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 IsNodeInsideFrustum (SceneKit.SCNNode node, SceneKit.SCNNode pointOfView);
abstract member IsNodeInsideFrustum : SceneKit.SCNNode * SceneKit.SCNNode -> bool
override this.IsNodeInsideFrustum : SceneKit.SCNNode * SceneKit.SCNNode -> bool

參數

node
SCNNode
pointOfView
SCNNode

傳回

實作

屬性

適用於