DecodeIdFromColor(Color)
A utility function that can be used to decode colors from ObjectIdRequest.destination to an index that can then be looked up in ObjectIdResult.idToObjectMapping.
阅读时间1 分钟最后更新于 21 天前
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public static int DecodeIdFromColor(Color color)
Parameters
Returns
Type | Description |
|---|---|
| int |