Поделиться через


MDLLightProbe.Create Метод

Определение

[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

Параметры

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

Будет добавлено.

Этот параметр может иметь значение null.

irradianceCubemap
MDLTexture

Будет добавлено.

Этот параметр может иметь значение null.

Возвращаемое значение

Атрибуты

Применяется к