MDLMesh.GenerateLightMapVertexColors(MDLLight[], MDLObject[], String) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Génère des données de couleur de vertex qui représentent le résultat calculé de l’ombrage à partir des lumières spécifiées, obstruées par les objets spécifiés.
[Foundation.Export("generateLightMapVertexColorsWithLightsToConsider:objectsToConsider:vertexAttributeNamed:")]
public virtual bool GenerateLightMapVertexColors (ModelIO.MDLLight[] lightsToConsider, ModelIO.MDLObject[] objectsToConsider, string vertexAttributeName);
abstract member GenerateLightMapVertexColors : ModelIO.MDLLight[] * ModelIO.MDLObject[] * string -> bool
override this.GenerateLightMapVertexColors : ModelIO.MDLLight[] * ModelIO.MDLObject[] * string -> bool
Paramètres
- lightsToConsider
- MDLLight[]
- objectsToConsider
- MDLObject[]
- vertexAttributeName
- String
Retours
- Attributs