跳转到内容

moveUINodeBy

此内容尚不支持你的语言。

moveUINodeBy(world, entity, dx, dy): Partial<UIInsetFields> | null

Defined in: sdk/src/ui/core/placement.ts:150

Move an Absolute node by (dx, dy) layout pixels in a live world.

World

number

number

number

Partial<UIInsetFields> | null

the fields written, or null when the node is not Absolute or has no laid-out box yet