文档

Unity Engine

Unity Engine

albedoSwatches

Returns an array of AlbedoSwatchInfo.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static AlbedoSwatchInfo[] albedoSwatches { get; set; }

Remarks

The physically based rendering validation tools have a set of built-in albedo values it will validate your materials against. Every game may have different albedo values it wants to validate against. This property will override the default albedo values with an array of user specified data. See AlbedoSwatchInfo for albedo swatch information. Also see DrawCameraMode.ValidateAlbedo and DrawCameraMode.ValidateMetalSpecular for information enabling the validation tools.