Share via


ISCNBoundingVolume Interface

Definition

Functions that define a volume in 3D space.

[Foundation.Protocol(Name="SCNBoundingVolume", WrapperType=typeof(SceneKit.SCNBoundingVolumeWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetBoundingBox", ParameterByRef=new System.Boolean[] { true, true }, ParameterType=new System.Type[] { typeof(SceneKit.SCNVector3), typeof(SceneKit.SCNVector3) }, ReturnType=typeof(System.Boolean), Selector="getBoundingBoxMin:max:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetBoundingBox", ParameterByRef=new System.Boolean[] { true, true }, ParameterType=new System.Type[] { typeof(SceneKit.SCNVector3), typeof(SceneKit.SCNVector3) }, Selector="setBoundingBoxMin:max:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetBoundingSphere", ParameterByRef=new System.Boolean[] { true, true }, ParameterType=new System.Type[] { typeof(SceneKit.SCNVector3), typeof(System.Runtime.InteropServices.NFloat) }, ReturnType=typeof(System.Boolean), Selector="getBoundingSphereCenter:radius:")]
public interface ISCNBoundingVolume : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="SCNBoundingVolume", WrapperType=typeof(SceneKit.SCNBoundingVolumeWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetBoundingBox", ParameterByRef=new System.Boolean[] { true, true }, ParameterType=new System.Type[] { typeof(SceneKit.SCNVector3), typeof(SceneKit.SCNVector3) }, ReturnType=typeof(System.Boolean), Selector="getBoundingBoxMin:max:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="SetBoundingBox", ParameterByRef=new System.Boolean[] { true, true }, ParameterType=new System.Type[] { typeof(SceneKit.SCNVector3), typeof(SceneKit.SCNVector3) }, Selector="setBoundingBoxMin:max:")>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetBoundingSphere", ParameterByRef=new System.Boolean[] { true, true }, ParameterType=new System.Type[] { typeof(SceneKit.SCNVector3), typeof(System.Runtime.InteropServices.NFloat) }, ReturnType=typeof(System.Boolean), Selector="getBoundingSphereCenter:radius:")>]
type ISCNBoundingVolume = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Properties

Name Description
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Methods

Name Description
GetBoundingBox(SCNVector3, SCNVector3)
GetBoundingSphere(SCNVector3, NFloat)

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.

SetBoundingBox(SCNVector3, SCNVector3)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to

See also