Compartilhar via


MDLMesh.GenerateLightMapTexture Método

Definição

Sobrecargas

GenerateLightMapTexture(Vector2i, MDLLight[], MDLObject[], String, String)
GenerateLightMapTexture(Single, MDLLight[], MDLObject[], String, String)

Gera um mapa que representa o resultado calculado do sombreamento das luzes especificadas, obstruído pelos objetos especificados.

GenerateLightMapTexture(Vector2i, MDLLight[], MDLObject[], String, String)

[Foundation.Export("generateLightMapTextureWithTextureSize:lightsToConsider:objectsToConsider:vertexAttributeNamed:materialPropertyNamed:")]
public virtual bool GenerateLightMapTexture (OpenTK.Vector2i textureSize, ModelIO.MDLLight[] lightsToConsider, ModelIO.MDLObject[] objectsToConsider, string vertexAttributeName, string materialPropertyName);
abstract member GenerateLightMapTexture : OpenTK.Vector2i * ModelIO.MDLLight[] * ModelIO.MDLObject[] * string * string -> bool
override this.GenerateLightMapTexture : OpenTK.Vector2i * ModelIO.MDLLight[] * ModelIO.MDLObject[] * string * string -> bool

Parâmetros

textureSize
Vector2i
lightsToConsider
MDLLight[]
objectsToConsider
MDLObject[]
vertexAttributeName
String
materialPropertyName
String

Retornos

Atributos

Aplica-se a

GenerateLightMapTexture(Single, MDLLight[], MDLObject[], String, String)

Gera um mapa que representa o resultado calculado do sombreamento das luzes especificadas, obstruído pelos objetos especificados.

[Foundation.Export("generateLightMapTextureWithQuality:lightsToConsider:objectsToConsider:vertexAttributeNamed:materialPropertyNamed:")]
public virtual bool GenerateLightMapTexture (float bakeQuality, ModelIO.MDLLight[] lightsToConsider, ModelIO.MDLObject[] objectsToConsider, string vertexAttributeName, string materialPropertyName);
abstract member GenerateLightMapTexture : single * ModelIO.MDLLight[] * ModelIO.MDLObject[] * string * string -> bool
override this.GenerateLightMapTexture : single * ModelIO.MDLLight[] * ModelIO.MDLObject[] * string * string -> bool

Parâmetros

bakeQuality
Single
lightsToConsider
MDLLight[]
objectsToConsider
MDLObject[]
vertexAttributeName
String
materialPropertyName
String

Retornos

Atributos

Aplica-se a