다음을 통해 공유


MDLMesh.AddAttribute 메서드

정의

오버로드

AddAttribute(String, MDLVertexFormat, String, NSData, nint)

꼭짓점 특성과 해당 빈 꼭짓점 버퍼를 추가합니다.

AddAttribute(String, MDLVertexFormat, String, NSData, nint, Double)
AddAttribute(String, MDLVertexFormat)

키워드nameformat 인덱싱된 특성을 추가합니다.

AddAttribute(String, MDLVertexFormat, String, NSData, nint)

꼭짓점 특성과 해당 빈 꼭짓점 버퍼를 추가합니다.

[Foundation.Export("addAttributeWithName:format:type:data:stride:")]
[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 AddAttribute (string name, ModelIO.MDLVertexFormat format, string type, Foundation.NSData data, nint stride);
abstract member AddAttribute : string * ModelIO.MDLVertexFormat * string * Foundation.NSData * nint -> unit
override this.AddAttribute : string * ModelIO.MDLVertexFormat * string * Foundation.NSData * nint -> unit

매개 변수

name
String
type
String

메시 벡터 형식입니다.

data
NSData
stride
System.System.IntPtr System.nativeint
특성

적용 대상

AddAttribute(String, MDLVertexFormat, String, NSData, nint, Double)

[Foundation.Export("addAttributeWithName:format:type:data:stride:time:")]
[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 AddAttribute (string name, ModelIO.MDLVertexFormat format, string type, Foundation.NSData data, nint stride, double time);
abstract member AddAttribute : string * ModelIO.MDLVertexFormat * string * Foundation.NSData * nint * double -> unit
override this.AddAttribute : string * ModelIO.MDLVertexFormat * string * Foundation.NSData * nint * double -> unit

매개 변수

name
String
type
String
data
NSData
stride
System.System.IntPtr System.nativeint
time
Double
특성

적용 대상

AddAttribute(String, MDLVertexFormat)

키워드nameformat 인덱싱된 특성을 추가합니다.

[Foundation.Export("addAttributeWithName:format:")]
public virtual void AddAttribute (string name, ModelIO.MDLVertexFormat format);
abstract member AddAttribute : string * ModelIO.MDLVertexFormat -> unit
override this.AddAttribute : string * ModelIO.MDLVertexFormat -> unit

매개 변수

name
String
특성

적용 대상