다음을 통해 공유


SCNGeometry.GetBoundingSphere(SCNVector3, nfloat) 메서드

정의

geometry 개체에 볼륨이 center 있는 경우 를 반환true하고 경계 구 데이터로 및 radius 를 채웁니다. 그렇지 않으면 를 반환 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

반환

구현

특성

적용 대상