大约有 350 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0055 秒)
Laya_社区(97) Laya_示例(78) Laya2.0_示例(68) Laya3.0_api(55) Laya2.0_文档(35) Laya3.0_文档(6) laya_api(6) Laya2.0_api(5)
...rivate _blood_area: Area = new AreaEntity( 100, 20 ); public _blood_value: number; /** 魔鬼 */ private _demon_ani: Laya.Animation; // toset: private _demon_area: Area = new AreaEntity( 100, 100); /** 靶心,参照物是魔鬼 */ private _target_ani: Laya.Animation; // toset: private _target_...
来源: Laya_社区 发布时间: 20180515
...全覆盖下,不能只处理get或set,如: class A { protected _id:number = 1; public get id():number { return this._id } public set id(value:number){ this._id = vaule; } } class B extends A { public set id(value:number){ this._id = value + 1; } } class C extends A {...
来源: Laya_社区 发布时间: 20161109
...eateLabel(color: string, strokeColor: string): Label { const STROKE_WIDTH: number = 4; var label: Label = new Label(); label.font = "Microsoft YaHei"; label.text = "SAMPLE DEMO"; label.fontSize = 30; label.color = color; if (strokeColor) { label.stroke = STROKE_WIDTH; label.strokeColor = strokeColor...
来源: Laya_社区 发布时间: 20180529
...ns Scene3D Properties _ShadowMapupdateFrequency _ShadowMapupdateFrequency: number = 1 Defined in laya/d3/core/scene/Scene3D.ts:425 lightShadowMap 更新频率 @internal Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean...
来源: Laya3.0_api 发布时间: 20231115
...画最后一帧的索引值, */ private aniUrls(aniName: string, length: number): any { var urls: any = []; for (var i: number = 1; i < length; i++) { //动画资源路径要和动画图集打包前的资源命名对应起来 urls.push("imgs/role/wp116/" + aniName + i + ".png"); } return urls; ...
来源: Laya_社区 发布时间: 20171228
...eateLabel(color: string, strokeColor: string): Label { const STROKE_WIDTH: number = 4; var label: Label = new Label(); label.font = "Microsoft YaHei"; label.text = "SAMPLE DEMO"; label.fontSize = 30; label.color = color; if (strokeColor) { label.stroke = STROKE_WIDTH; label.strokeColor = strokeColor...
来源: Laya_示例 发布时间: 20240930
...st赋值,先获得一个数据源数组 var arr: Array = []; for (var i: number = 0; i < 100; i++) { arr.push({ label: "item " + i, clip: i % 9 }); } //给list赋值更改list的显示 this.list.array = arr; //还可以自定义list渲染方式,可以打开下面注释看一下效果 //list.rend...
来源: Laya_示例 发布时间: 20240930
...st赋值,先获得一个数据源数组 var arr: Array = []; for (var i: number = 0; i < 100; i++) { arr.push({ label: "item " + i, clip: i % 9 }); } //给list赋值更改list的显示 this.list.array = arr; //还可以自定义list渲染方式,可以打开下面注释看一下效果 //list.rend...
来源: Laya2.0_示例 发布时间: 20200319
...具 Arguments: dir 输入目录 Options: -V, --version output the version number -o, --output <outDir> 指定输出目录,如果是相对目录,则是相对于当前目录 (default: "dccout") -m, --merge 是否合并小文件 -y, --overwrite 是否覆盖输出目录(保留历史记录需...
来源: Laya3.0_文档 发布时间: 20240726
...ass Tween_EaseFunctionsDemo { private character: Sprite; private duration: number = 2000; private tween: Tween; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode =...
来源: Laya2.0_示例 发布时间: 20240930