MDLMesh.GenerateLightMapVertexColors(MDLLight[], MDLObject[], String) Méthode

Définition

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

S’applique à