Version: 2023.2
언어: 한국어
public static int DecodeSelectionId (Vector4 selectionId);

파라미터

selectionId The selection ID retrieved from GPU to translate into a picking index.

반환

int The decoded picking index.

설명

Translates a Vector4 selectionId value retrieved from GPU into a single integer picking index.

Additional resources: HandleUtility.EncodeSelectionId.