SCNGeometry.GetBoundingBox(SCNVector3, SCNVector3) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- min
- SCNVector3
- max
- SCNVector3
Returns
Implements
- Attributes