Bewerken

Delen via


MDLLightProbe.Create Method

Definition

[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

Parameters

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

To be added.

This parameter can be null.

irradianceCubemap
MDLTexture

To be added.

This parameter can be null.

Returns

Attributes

Applies to