共用方式為


SCNGeometry.GetBoundingBox(SCNVector3, SCNVector3) 方法

定義

如果 geometry 物件有磁片區,則會傳 true 回 ,並填滿 minmax 周框方塊的角落。 否則,會傳 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

參數

傳回

實作

屬性

適用於