resolveBindingTarget
此内容尚不支持你的语言。
resolveBindingTarget(
world,from,name):number|null
Defined in: eventBinding.ts:96
The entity named name, searched nearest-first from from: from itself,
then its subtree, then each ancestor’s subtree (skipping the branch already
searched), and finally the world-wide name index as a fallback for scenes
with no shared root. Returns null when nothing matches.
Exported for tests and for editor-side parity checks.
Parameters
Section titled “Parameters”number
string
Returns
Section titled “Returns”number | null