Поделиться через


SCNGeometry.GetBoundingSphere(SCNVector3, nfloat) Метод

Определение

Возвращает true, и заполняет center и radius данными ограничивающей сферы, если объект geometry имеет объем. В противном случае возвращает значение 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

Возвращаемое значение

Реализации

Атрибуты

Применяется к