MDLMesh.AddAttribute Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
AddAttribute(String, MDLVertexFormat, String, NSData, nint) |
Aggiunge un attributo vertice e un buffer del vertice vuoto corrispondente. |
AddAttribute(String, MDLVertexFormat, String, NSData, nint, Double) | |
AddAttribute(String, MDLVertexFormat) |
Aggiunge l'attributo |
AddAttribute(String, MDLVertexFormat, String, NSData, nint)
Aggiunge un attributo vertice e un buffer del vertice vuoto corrispondente.
[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
Parametri
- name
- String
- format
- MDLVertexFormat
- type
- String
Tipo di vettore mesh.
- data
- NSData
- stride
- System.System.IntPtr System.nativeint
- Attributi
Si applica 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
Parametri
- name
- String
- format
- MDLVertexFormat
- type
- String
- data
- NSData
- stride
- System.System.IntPtr System.nativeint
- time
- Double
- Attributi
Si applica a
AddAttribute(String, MDLVertexFormat)
Aggiunge l'attributo format
, indicizzato dalla parola chiave 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
Parametri
- name
- String
- format
- MDLVertexFormat
- Attributi