MDLMesh.GenerateLightMapTexture Méthode

Définition

Surcharges

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

Génère une carte qui représente le résultat calculé de l’ombrage à partir des lumières spécifiées, obstruée par les objets spécifiés.

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

Paramètres

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

Retours

Attributs

S’applique à

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

Génère une carte qui représente le résultat calculé de l’ombrage à partir des lumières spécifiées, obstruée par les objets spécifiés.

[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

Paramètres

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

Retours

Attributs

S’applique à