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.