MDLMesh.GenerateLightMapVertexColors(MDLLight[], MDLObject[], String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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