共用方式為


MDLMesh.GenerateLightMapVertexColors(MDLLight[], MDLObject[], String) 方法

定義

產生頂點色彩資料,此資料代表由指定之光源所妨礙之指定光線的計算結果。

[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

參數

lightsToConsider
MDLLight[]
objectsToConsider
MDLObject[]
vertexAttributeName
String

傳回

屬性

適用於