Options
All
  • Public
  • Public/Protected
  • All
Menu

Enumeration AlignMode

Enum for Widget's alignment mode, indicating when the widget should refresh.

Index

Enumeration members

Enumeration members

ALWAYS

ALWAYS: = 1

Keep aligning all the way.

ONCE

ONCE: = 0

Only align once when the Widget is enabled for the first time. This will allow the script or animation to continue controlling the current node. It will only be aligned once before the end of frame when onEnable is called,then immediately disables the Widget.

ON_WINDOW_RESIZE

ON_WINDOW_RESIZE: = 2
zh

一开始会像 ONCE 一样对齐一次,之后每当窗口大小改变时还会重新对齐。

Generated using TypeDoc