Share via


SCNGeometry.GetBoundingBox(SCNVector3, SCNVector3) 方法

定义

如果 geometry 对象具有体积,则true返回 、 和 max 填充min边界框的角。 否则,返回 , false 并且参数未定义。

[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

参数

返回

实现

属性

适用于