Edit

Share via


MDLMesh.GenerateLightMapVertexColors(MDLLight[], MDLObject[], String) Method

Definition

Generates vertex color data that represent the computed result of shading from the specified lights, obstructed by the specified objects.

[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

Parameters

lightsToConsider
MDLLight[]
objectsToConsider
MDLObject[]
vertexAttributeName
String

Returns

Attributes

Applies to