Editar

Compartir a través de


MDLAsset.GetComponent Method

Definition

Overloads

GetComponent(Protocol)
GetComponent(Type)

GetComponent(Protocol)

[Foundation.Export("componentConformingToProtocol:")]
[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 ModelIO.IMDLComponent GetComponent (ObjCRuntime.Protocol protocol);
abstract member GetComponent : ObjCRuntime.Protocol -> ModelIO.IMDLComponent
override this.GetComponent : ObjCRuntime.Protocol -> ModelIO.IMDLComponent

Parameters

protocol
Protocol

Returns

Attributes

Applies to

GetComponent(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 ModelIO.IMDLComponent GetComponent (Type type);
member this.GetComponent : Type -> ModelIO.IMDLComponent

Parameters

type
Type

Returns

Attributes

Applies to