Class

MDLObjectContainer

A default implementation for handling object hierarchy relationships in a 3D asset.

Declaration

@interface MDLObjectContainer : NSObject

Overview

Model I/O uses the MDLObjectContainerComponent protocol to create object hierarchy relationships for meshes, lights, cameras, and containers loaded from a MDLAsset instance. To create your own containers—for example, to reference in-memory representations, offline databases, or custom asset file formats—create MDLObjectContainer subclasses and add them to a MDLObject instance using its setComponent:forProtocol: method.

All methods of this class are defined by the MDLObjectContainerComponent protocol. For discussion of these methods, see MDLObjectContainerComponent.

Relationships

Inherits From

See Also

Extensible Asset Format Support

MDLComponent

The base protocol for extensible file format support in Model I/O.

MDLObjectContainerComponent

The general interface for classes that can act as containers in an object hierarchy.

MDLTransformComponent

The general interface for classes that manage local coordinate space transforms for 3D objects