SCNGeometry.GetBoundingSphere(SCNVector3, nfloat) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.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
Parameters
- center
- SCNVector3
- radius
- nfloat
Returns
Implements
- Attributes