MDLAsset.SetComponent 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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
- 属性