大约有 426 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0069 秒)
Laya_社区(183) Laya3.0_api(161) Laya3.0_文档(33) Laya2.0_文档(31) Laya2.0_api(8) laya_api(7) Laya2.0_示例(3)
...,则需要使用结构如:[p],其他的单个参数 p ,可以直接传入参数 p。 Returns boolean 此事件类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 frameLoop frameLoop(delay: number, caller: any, method: Function, args?: any[], coverBefore?: bool...
来源: Laya3.0_api 发布时间: 20231115
...esource/ui/button.png","label");//创建一个 Button 实例对象 button ,传入它的皮肤skin和标签label。 button.x = 100;//设置 button 对象的属性 x 的值,用于控制 button 对象的显示位置。 button.y = 100;//设置 button 对象的属性 y 的值,用于控制 button 对...
来源: Laya3.0_api 发布时间: 20231115
...2,item3,item4,item5");//创建一个 ComboBox 类的实例对象 comboBox ,传入它的皮肤和标签集。 comboBox.x = 100;//设置 comboBox 对象的属性 x 的值,用于控制 comboBox 对象的显示位置。 comboBox.y = 100;//设置 comboBox 对象的属性 x 的值,用于控制 comboBo...
来源: Laya3.0_api 发布时间: 20231115
...,则需要使用结构如:[p],其他的单个参数 p ,可以直接传入参数 p。 Returns boolean 此事件类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 gpuCompressFormat gpuCompressFormat(): boolean Inherited from BaseTexture.gpuCompressFormat Define...
来源: Laya3.0_api 发布时间: 20231102
...nt(fntPath, new Laya.Handler(this, (bitmapFont: Laya.BitmapFont) => { //按传入名称注册不同名称的位图字体 Laya.Text.registerBitmapFont(fontName, bitmapFont); }, [_bitmapFont])); } onEnable(): void { //加载字体和注册需要时间,延迟几帧渲染比较保险。也可以把使...
来源: Laya2.0_文档 发布时间: 20210715
...,则需要使用结构如:[p],其他的单个参数 p ,可以直接传入参数 p。 Returns boolean 此事件类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 getCachedClip getCachedClip(x: number, y: number, width: number, height: number): Texture Defined ...
来源: Laya3.0_api 发布时间: 20231115
.../component/Volume/BatchVolume/StaticInstanceBatchRender.ts:297 合批队列传入 Parameters renderNodes: BaseRender[] Returns void destroy destroy(): void Inherited from Component.destroy Defined in laya/components/Component.ts:229 销毁组件 Returns void hasHideFlag hasHideFlag(flag: number): bo...
来源: Laya3.0_api 发布时间: 20231115
...,则需要使用结构如:[p],其他的单个参数 p ,可以直接传入参数 p。 Returns boolean 此事件类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 gpuCompressFormat gpuCompressFormat(): boolean Inherited from BaseTexture.gpuCompressFormat Define...
来源: Laya3.0_api 发布时间: 20231102
...ned in laya/d3/component/Volume/BatchVolume/BatchRender.ts:160 合批队列传入 Parameters renderNode: BaseRender[] Returns void destroy destroy(): void Inherited from Component.destroy Defined in laya/components/Component.ts:229 销毁组件 Returns void hasHideFlag hasHideFlag(flag: number): boo...
来源: Laya3.0_api 发布时间: 20231115
...,则需要使用结构如:[p],其他的单个参数 p ,可以直接传入参数 p。 Returns boolean 此事件类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 gpuCompressFormat gpuCompressFormat(): boolean Inherited from BaseTexture.gpuCompressFormat Define...
来源: Laya3.0_api 发布时间: 20231115