Edytuj

Udostępnij za pośrednictwem


SCNView.IsNodeInsideFrustum(SCNNode, SCNNode) Method

Definition

Returns a value that tells whether the specified node is within the viewing frustum that is defined by the scene and the specified point of view.

[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

Parameters

node
SCNNode
pointOfView
SCNNode

Returns

Implements

Attributes

Applies to