Edit

Share via


IMDLObjectContainerComponent Interface

Definition

Interface representing the required methods (if any) of the protocol IMDLObjectContainerComponent.

[Foundation.Protocol(Name="MDLObjectContainerComponent", WrapperType=typeof(ModelIO.MDLObjectContainerComponentWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 9, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public interface IMDLObjectContainerComponent : IDisposable, ModelIO.IMDLComponent
type IMDLObjectContainerComponent = interface
    interface INativeObject
    interface IDisposable
    interface IMDLComponent
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by IMDLObjectContainerComponent.

If you create objects that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the IMDLObjectContainerComponent protocol.

Optional methods (if any) are provided by the MDLObjectContainerComponent_Extensions class as extension methods to the interface, allowing you to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
Objects

Gets the list of objects that belong to this IMDLObjectContainerComponent.

Methods

AddObject(MDLObject)

Adds object to the list of objects that are contained by this IMDLObjectContainerComponent.

RemoveObject(MDLObject)

Removes object from the list of objects that are contained by this IMDLObjectContainerComponent.

Extension Methods

GetCount(IMDLObjectContainerComponent)

Gets the number of objects in the container.

GetObject(IMDLObjectContainerComponent, nuint)

Returns the object at the specified index.

Applies to