大约有 3,789 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0282 秒)
...t 的字体大小。 textInput.wordWrap = true;//设置 textInput 的文本自动换行。 textInput.x = 100;//设置 textInput 对象的属性 x 的值,用于控制 textInput 对象的显示位置。 textInput.y = 100;//设置 textInput 对象的属性 y 的值,用于控制 textInput 对象的...
来源: Laya3.0_api 发布时间: 20231115
...royAtClosed Defined in laya/display/Scene.ts:25 场景被关闭后,是否自动销毁(销毁节点和使用到的资源),默认为false autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽高数据。默认值为 fa...
来源: Laya3.0_api 发布时间: 20231115
...文本字体大小。 textArea.wordWrap = true;//设置 textArea 的文本自动换行。 textArea.x = 100;//设置 textArea 对象的属性 x 的值,用于控制 textArea 对象的显示位置。 textArea.y = 100;//设置 textArea 对象的属性 y 的值,用于控制 textArea 对象的显示...
来源: Laya3.0_api 发布时间: 20231115
...d in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource.ts:107 获取资...
来源: Laya3.0_api 发布时间: 20231115
... Menu Globals "laya/ui/UIGroup" UIGroup Class UIGroup Group 是一个可以自动布局的项集合控件。 Group 的默认项对象为 Button 类实例。 Group 是 Tab 和 RadioGroup 的基类。 Hierarchy Box UIGroup RadioGroup Tab Index Constructors constructor Properties _extra _ownGraphics _s...
来源: Laya3.0_api 发布时间: 20231115
...y autoPlay: boolean = true Defined in laya/particle/Particle2D.ts:24 是否自动播放 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘...
来源: Laya3.0_api 发布时间: 20231115
...,即mouseEnabled=false,但是只要对其监听任意鼠标事件,会自动打开自己以及所有父对象的mouseEnabled=true。所以一般也无需手动设置mouseEnabled。 LayaAir引擎API设计精简巧妙。核心显示类只有一个Sprite。Sprite针对不同的情况做了渲染...
来源: Laya3.0_api 发布时间: 20231115
...m AnimationBase.autoSize Defined in laya/display/Sprite.ts:258 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方...
来源: Laya3.0_api 发布时间: 20231102
...建,加载,销毁等功能 场景被从节点移除后,并不会被自动垃圾机制回收,如果想回收,请调用destroy接口,可以通过unDestroyedScenes属性查看还未被销毁的场景列表 Hierarchy Sprite Scene View Index Constructors constructor Properties _extra _ownGrap...
来源: Laya3.0_api 发布时间: 20231115
...m AnimationBase.autoSize Defined in laya/display/Sprite.ts:258 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方...
来源: Laya3.0_api 发布时间: 20231102