文档

Unity Engine

Unity Engine

GetReflectionProbeIndexMap(Allocator)

If a RenderPipeline sorts or otherwise modifies the VisibleReflectionProbe list, an index remap will be necessary to properly make use of per-object reflection probe lists.
阅读时间1 分钟最后更新于 1 个月前

Definition

public NativeArray<int> GetReflectionProbeIndexMap(Allocator allocator)

Parameters

allocator

The allocator to use.

Returns

Type

Description

NativeArray<int>Array of indices that map from VisibleReflectionProbe indices to internal per-object reflection probe list indices.

Remarks