編輯

共用方式為


MDLAsset.SetComponent Method

Definition

Overloads

SetComponent(IMDLComponent, Protocol)
SetComponent(IMDLComponent, Type)

SetComponent(IMDLComponent, Protocol)

[Foundation.Export("setComponent:forProtocol:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, 4, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void SetComponent (ModelIO.IMDLComponent component, ObjCRuntime.Protocol protocol);
abstract member SetComponent : ModelIO.IMDLComponent * ObjCRuntime.Protocol -> unit
override this.SetComponent : ModelIO.IMDLComponent * ObjCRuntime.Protocol -> unit

Parameters

component
IMDLComponent
protocol
Protocol
Attributes

Applies to

SetComponent(IMDLComponent, Type)

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 3, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 2, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, 4, ObjCRuntime.PlatformArchitecture.All, null)]
public void SetComponent (ModelIO.IMDLComponent component, Type type);
member this.SetComponent : ModelIO.IMDLComponent * Type -> unit

Parameters

component
IMDLComponent
type
Type
Attributes

Applies to