Skip to content
EN

Function: getLocatorWorldPoint() ​

ts
function getLocatorWorldPoint(handle): 
  | {
  x: number;
  y: number;
}
  | null;

Returns the locator's world position (the node origin transformed by the node's current view), or null when the node has no locator.

Parameters ​

ParameterType
handleSceneNodeHandle

Returns ​

| { x: number; y: number; } | null

Suity 开发者文档 · API 由 TypeDoc 从声明文件生成