Freigeben über


MDLAsset.AddObject(MDLObject) Method

Definition

Adds the specified MDLObject, which may be a MDLCamera, MDLMesh, or MDLLight, to the end of the indexed list of objects for this MDLAsset.

[Foundation.Export("addObject:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void AddObject(ModelIO.MDLObject object);
[<Foundation.Export("addObject:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member AddObject : ModelIO.MDLObject -> unit
override this.AddObject : ModelIO.MDLObject -> unit

Parameters

object
MDLObject
Attributes

Applies to