One Logo Pool Ball
ModelIO · IOS API REFERENCE

MDLObject

class · iOS 9.0+ · SDK 27.1

class MDLObject

Members (19)

method · iOS 9.0+

addChild

TypeScript
addChild(child: MDLObject): void
Swift declaration
func addChild(_ child: MDLObject)
method · iOS 9.0+

boundingBox

TypeScript
boundingBox(time: number): MDLAxisAlignedBoundingBox
Swift declaration
func boundingBox(atTime time: TimeInterval) -> MDLAxisAlignedBoundingBox
method · iOS 9.0+

componentConforming

TypeScript
componentConforming(protocol: string): (SDKHandle) | null
Swift declaration
func componentConforming(to protocol: Protocol) -> (any MDLComponent)?
init

init

TypeScript
static init(): MDLObject
Swift declaration
init()
method · iOS 9.0+

atPath

TypeScript
atPath(path: string): MDLObject
Swift declaration
func atPath(_ path: String) -> MDLObject
subscript · iOS 9.0+

subscript

TypeScript
subscript(key: string): (SDKHandle) | null
Swift declaration
subscript(key: Protocol) -> (any MDLComponent)? { get set }
method · iOS 9.0+

setComponent

TypeScript
setComponent(component: Implements<MDLComponent> | SDKHandle, protocol: string): void
Swift declaration
func setComponent(_ component: any MDLComponent, for protocol: Protocol)
get · iOS 9.0+

children

TypeScript
get children(): SDKHandle
Swift declaration
var children: any MDLObjectContainerComponent { get set }
set · iOS 9.0+

children

TypeScript
set children(value: SDKHandle)
Swift declaration
var children: any MDLObjectContainerComponent { get set }
get · iOS 9.0+

components

TypeScript
get components(): Array<SDKHandle>
Swift declaration
var components: [any MDLComponent] { get }
get · iOS 9.0+

hidden

TypeScript
get hidden(): boolean
Swift declaration
var hidden: Bool { get set }
set · iOS 9.0+

hidden

TypeScript
set hidden(value: boolean)
Swift declaration
var hidden: Bool { get set }
get · iOS 9.0+

instance

TypeScript
get instance(): (MDLObject) | null
Swift declaration
var instance: MDLObject? { get set }
set · iOS 9.0+

instance

TypeScript
set instance(value: (MDLObject) | null)
Swift declaration
var instance: MDLObject? { get set }
get · iOS 9.0+

parent

TypeScript
get parent(): (MDLObject) | null
Swift declaration
weak var parent: MDLObject? { get set }
set · iOS 9.0+

parent

TypeScript
set parent(value: (MDLObject) | null)
Swift declaration
weak var parent: MDLObject? { get set }
get · iOS 9.0+

path

TypeScript
get path(): string
Swift declaration
var path: String { get }
get · iOS 9.0+

transform

TypeScript
get transform(): (SDKHandle) | null
Swift declaration
var transform: (any MDLTransformComponent)? { get set }
set · iOS 9.0+

transform

TypeScript
set transform(value: (SDKHandle) | null)
Swift declaration
var transform: (any MDLTransformComponent)? { get set }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MDLObject.enumerateChildObjects(of:root:using:stopPointer:)

synchronous callback requires a nonescaping JS-thread call

All ModelIO types →