編輯

共用方式為


MDLMesh.ReplaceAttribute(String, MDLVertexAttributeData) Method

Definition

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

Parameters

name
String
Attributes

Applies to