大约有 496 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0092 秒)
...ckBox_Example { public function CheckBox_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/check.png", Handler.create(this,onLoadComplete));//加载资源。 } private function onLoadComplete():...
来源: Laya3.0_api 发布时间: 20231115
...对于Web发布来说,就是html中的title名称)。 显示名称:设置显示名称后,显示的将会是显示名称,而不是项目名称。一般都填写中文汉字,英文也可以。用于应用商店、桌面图标、弹窗等游戏入口处。 图标:游戏的入口标识,...
来源: Laya3.0_文档 发布时间: 20240926
...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Implementation of ISelect._url Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Implementation of ISelect.autoSize Inherited from Text.autoSize D...
来源: Laya3.0_api 发布时间: 20231115
...ion Tree_Example() { Laya.init(640, 800); Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/ui/vscroll$up.png", "resource/ui/clip_selectBox.png", "resource/ui/clip_tree...
来源: Laya3.0_api 发布时间: 20231115
...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽...
来源: Laya3.0_api 发布时间: 20231115
...Panel.ts:31 创建一个新的 Panel 类实例。 在 Panel 构造函数中设置属性width、height的值都为100。 Returns Panel Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from ...
来源: Laya3.0_api 发布时间: 20231115
...ited from Resource.obsolute Defined in laya/resource/Resource.ts:147 如果设置一个已缓存的资源obsolute为true,则 1)getRes仍然可以返回这个资源; 2)下次加载时会忽略这个缓存而去重新加载。。 Returns boolean Inherited from Resource.obsolute Defined in laya...
来源: Laya3.0_api 发布时间: 20231115
...torUpdateMode): void Defined in laya/d3/component/Animator/Animator.ts:129 设置更新模式 Parameters value: AnimatorUpdateMode Returns void Methods _initialize _initialize(): void Inherited from Component._initialize Defined in laya/components/Component.ts:56 Returns void _setOwner _setOwner(nod...
来源: Laya3.0_api 发布时间: 20231115
...ector4 颜色。 Defined in laya/d3/core/pixelLine/PixelLineMaterial.ts:34 设置颜色。 Parameters value: Vector4 颜色。 Returns void 颜色。 cpuMemory get cpuMemory(): number Inherited from Resource.cpuMemory Defined in laya/resource/Resource.ts:124 内存大小。 Returns number cull get c...
来源: Laya3.0_api 发布时间: 20231115
... Returns Color 颜色。 Defined in laya/d3/core/trail/TrailMaterial.ts:44 设置颜色。 Parameters value: Color 颜色。 Returns void 颜色。 cpuMemory get cpuMemory(): number Inherited from Resource.cpuMemory Defined in laya/resource/Resource.ts:124 内存大小。 Returns number cull get cul...
来源: Laya3.0_api 发布时间: 20231115