Düzenle

Aracılığıyla paylaş


SCNGeometry.GetBoundingBox(SCNVector3, SCNVector3) Method

Definition

Returns true, and fills min and max with the corners of the bounding box, if the geometry object has volume. Otherwise, returns false and the parameters are undefined.

[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