addChild
TypeScriptaddChild(child: MDLObject): voidSwift declarationfunc addChild(_ child: MDLObject)class · iOS 9.0+ · SDK 27.1
class MDLObjectaddChild(child: MDLObject): voidSwift declarationfunc addChild(_ child: MDLObject)boundingBox(time: number): MDLAxisAlignedBoundingBoxSwift declarationfunc boundingBox(atTime time: TimeInterval) -> MDLAxisAlignedBoundingBoxcomponentConforming(protocol: string): (SDKHandle) | nullSwift declarationfunc componentConforming(to protocol: Protocol) -> (any MDLComponent)?static init(): MDLObjectSwift declarationinit()atPath(path: string): MDLObjectSwift declarationfunc atPath(_ path: String) -> MDLObjectsubscript(key: string): (SDKHandle) | nullSwift declarationsubscript(key: Protocol) -> (any MDLComponent)? { get set }setComponent(component: Implements<MDLComponent> | SDKHandle, protocol: string): voidSwift declarationfunc setComponent(_ component: any MDLComponent, for protocol: Protocol)get children(): SDKHandleSwift declarationvar children: any MDLObjectContainerComponent { get set }set children(value: SDKHandle)Swift declarationvar children: any MDLObjectContainerComponent { get set }get components(): Array<SDKHandle>Swift declarationvar components: [any MDLComponent] { get }get hidden(): booleanSwift declarationvar hidden: Bool { get set }set hidden(value: boolean)Swift declarationvar hidden: Bool { get set }get instance(): (MDLObject) | nullSwift declarationvar instance: MDLObject? { get set }set instance(value: (MDLObject) | null)Swift declarationvar instance: MDLObject? { get set }get parent(): (MDLObject) | nullSwift declarationweak var parent: MDLObject? { get set }set parent(value: (MDLObject) | null)Swift declarationweak var parent: MDLObject? { get set }get path(): stringSwift declarationvar path: String { get }get transform(): (SDKHandle) | nullSwift declarationvar transform: (any MDLTransformComponent)? { get set }set transform(value: (SDKHandle) | null)Swift declarationvar transform: (any MDLTransformComponent)? { get set }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