Editar

Compartilhar via


SCNNode.GetBoundingBox(SCNVector3, SCNVector3) Method

Definition

Stores the vectors that define the node's bounding box in min and max, or allows the developer to set them.

[Foundation.Export("getBoundingBoxMin:max:")]
[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 GetBoundingBox (ref SceneKit.SCNVector3 min, ref SceneKit.SCNVector3 max);
[Foundation.Export("getBoundingBoxMin:max:")]
[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 GetBoundingBox (ref SceneKit.SCNVector3 min, ref SceneKit.SCNVector3 max);
abstract member GetBoundingBox :  *  -> bool
override this.GetBoundingBox :  *  -> bool

Parameters

Returns

Implements

Attributes

Applies to