Compartir a través de


SCNGeometry.GetBoundingSphere(SCNVector3, nfloat) Método

Definición

Devuelve truey rellena center y radius con los datos de esfera delimitador, si el objeto geometry tiene volumen. De lo contrario, devuelve false y los parámetros no están definidos.

[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

Parámetros

center
SCNVector3
radius
nfloat

Devoluciones

Implementaciones

Atributos

Se aplica a