編輯

共用方式為


MDLMesh.GetVertexAttributeData(String, MDLVertexFormat) Method

Definition

[Foundation.Export("vertexAttributeDataForAttributeNamed:asFormat:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual ModelIO.MDLVertexAttributeData GetVertexAttributeData (string attributeName, ModelIO.MDLVertexFormat format);
abstract member GetVertexAttributeData : string * ModelIO.MDLVertexFormat -> ModelIO.MDLVertexAttributeData
override this.GetVertexAttributeData : string * ModelIO.MDLVertexFormat -> ModelIO.MDLVertexAttributeData

Parameters

attributeName
String

Returns

Attributes

Applies to