Compartir a través de


MDLMesh.AddAttribute Método

Definición

Sobrecargas

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

Agrega un atributo de vértice y un búfer de vértices vacío correspondiente.

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

Agrega el format atributo , indizado por la palabra clave name.

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

Agrega un atributo de vértice y un búfer de vértices vacío correspondiente.

[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

Parámetros

name
String
type
String

Tipo de vector de malla.

data
NSData
stride
System.System.IntPtr System.nativeint
Atributos

Se aplica a

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

Parámetros

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

Se aplica a

AddAttribute(String, MDLVertexFormat)

Agrega el format atributo , indizado por la palabra clave name.

[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

Parámetros

name
String
Atributos

Se aplica a