SCNView.IsNodeInsideFrustum(SCNNode, SCNNode) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个值,该值指示指定的节点是否位于由场景和指定视点定义的查看视锥内。
[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
返回
实现
- 属性