SCNNode.GetBoundingSphere(SCNVector3, NFloat) Method

Definition

Returns true, and fills center and radius with the bounding sphere data, if the geometry object has volume. Otherwise, returns false and the parameters are undefined.

[Foundation.Export("getBoundingSphereCenter:radius:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual bool GetBoundingSphere(ref SceneKit.SCNVector3 center, ref System.Runtime.InteropServices.NFloat radius);
[<Foundation.Export("getBoundingSphereCenter:radius:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetBoundingSphere : SCNVector3 * NFloat -> bool
override this.GetBoundingSphere : SCNVector3 * NFloat -> bool

Parameters

center
SCNVector3
radius
NFloat

Returns

Implements

Attributes

Applies to