編輯

共用方式為


MDLMesh.UpdateAttribute(String, MDLVertexAttributeData) Method

Definition

[Foundation.Export("updateAttributeNamed:withData:")]
[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 void UpdateAttribute (string name, ModelIO.MDLVertexAttributeData newData);
abstract member UpdateAttribute : string * ModelIO.MDLVertexAttributeData -> unit
override this.UpdateAttribute : string * ModelIO.MDLVertexAttributeData -> unit

Parameters

name
String
Attributes

Applies to