다음을 통해 공유


MDLAsset.SetComponent 메서드

정의

오버로드

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

매개 변수

component
IMDLComponent
protocol
Protocol
특성

적용 대상

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

매개 변수

component
IMDLComponent
type
Type
특성

적용 대상