Edytuj

Udostępnij za pośrednictwem


MDLAsset.PlaceLightProbes Method

Definition

Overloads

PlaceLightProbes(Single, MDLProbePlacement, IMDLLightProbeIrradianceDataSource)
PlaceLightProbes(Single, MDLProbePlacement, MDLLightProbeIrradianceDataSource)
Obsolete.

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[]

Parameters

density
Single

Returns

Attributes

Applies to

PlaceLightProbes(Single, MDLProbePlacement, MDLLightProbeIrradianceDataSource)

Caution

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[]

Parameters

density
Single

Returns

Attributes

Applies to