共用方式為


MDLAsset.PlaceLightProbes 方法

定義

多載

PlaceLightProbes(Single, MDLProbePlacement, IMDLLightProbeIrradianceDataSource)
PlaceLightProbes(Single, MDLProbePlacement, MDLLightProbeIrradianceDataSource)
已淘汰.

PlaceLightProbes(Single, MDLProbePlacement, IMDLLightProbeIrradianceDataSource)

[Foundation.Export("placeLightProbesWithDensity:heuristic:usingIrradianceDataSource:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public static ModelIO.MDLLightProbe[] PlaceLightProbes (float density, ModelIO.MDLProbePlacement type, ModelIO.IMDLLightProbeIrradianceDataSource dataSource);
static member PlaceLightProbes : single * ModelIO.MDLProbePlacement * ModelIO.IMDLLightProbeIrradianceDataSource -> ModelIO.MDLLightProbe[]

參數

density
Single

傳回

屬性

適用於

PlaceLightProbes(Single, MDLProbePlacement, MDLLightProbeIrradianceDataSource)

警告

Use the overload that takes an 'MDLLightProbeIrradianceDataSource' instead.

[System.Obsolete("Use the overload that takes an 'MDLLightProbeIrradianceDataSource' instead.")]
public static ModelIO.MDLLightProbe[] PlaceLightProbes (float density, ModelIO.MDLProbePlacement type, ModelIO.MDLLightProbeIrradianceDataSource dataSource);
static member PlaceLightProbes : single * ModelIO.MDLProbePlacement * ModelIO.MDLLightProbeIrradianceDataSource -> ModelIO.MDLLightProbe[]

參數

density
Single

傳回

屬性

適用於