共用方式為


SCNGeometry.GetBoundingSphere(SCNVector3, nfloat) 方法

定義

true如果 geometry 物件具有磁片區,則會傳回 和 填入 centerradius 周框球體資料。 否則,會 false 傳回 和 參數未定義。

[Foundation.Export("getBoundingSphereCenter:radius:")]
[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 GetBoundingSphere (ref SceneKit.SCNVector3 center, ref nfloat radius);
[Foundation.Export("getBoundingSphereCenter:radius:")]
[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 GetBoundingSphere (ref SceneKit.SCNVector3 center, ref nfloat radius);
abstract member GetBoundingSphere :  *  -> bool
override this.GetBoundingSphere :  *  -> bool

參數

center
SCNVector3
radius
nfloat

傳回

實作

屬性

適用於