Skip to content
EN

Function: readCustomReference() ​

ts
function readCustomReference(handle, name): CustomPropertyReference | null;

Reads one structured reference from the node's custom-property component.

Returns { kind: "node" } for an empty reference and null when the entry is missing or is not a reference. Use readCustomProperties for scalar values.

Parameters ​

ParameterType
handleSceneNodeHandle
namestring

Returns ​

CustomPropertyReference | null

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