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.
Read time 1 minuteLast updated 8 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public static int DecodeIdFromColor(Color color)
Parameters
Returns
Type | Description |
|---|---|
| int |