Compartilhar via


MDLLightProbe.Create Método

Definição

[Foundation.Export("lightProbeWithTextureSize:forLocation:lightsToConsider:objectsToConsider:reflectiveCubemap:irradianceCubemap:")]
public static ModelIO.MDLLightProbe Create (nint textureSize, ModelIO.MDLTransform transform, ModelIO.MDLLight[] lightsToConsider, ModelIO.MDLObject[] objectsToConsider, ModelIO.MDLTexture reflectiveCubemap, ModelIO.MDLTexture irradianceCubemap);
static member Create : nint * ModelIO.MDLTransform * ModelIO.MDLLight[] * ModelIO.MDLObject[] * ModelIO.MDLTexture * ModelIO.MDLTexture -> ModelIO.MDLLightProbe

Parâmetros

textureSize
System.System.IntPtr System.nativeint
transform
MDLTransform
lightsToConsider
MDLLight[]
objectsToConsider
MDLObject[]
reflectiveCubemap
MDLTexture

A ser adicionado.

Esse parâmetro pode ser null.

irradianceCubemap
MDLTexture

A ser adicionado.

Esse parâmetro pode ser null.

Retornos

Atributos

Aplica-se a