大约有 3,603 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0075 秒)
Laya_社区(2675) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya3.0_文档(97) Laya_示例(83) Laya2.0_示例(45)
... // 使用但隐藏滚动条 list.vScrollBarSkin = ""; list.selectEnable = true; list.selectHandler = new Handler(this, onSelect); list.renderHandler = new Handler(this, updateItem); Laya.stage.addChild(list); // 设置数据项为对应图片的路径 var data = []; for (var i = 0; i = []; for (var...
来源: Laya_示例 发布时间: 20251209
...过播放名字移除动画片段。 Animator stop(immediate:Boolean = true):void 停止播放当前动画 Animator unLinkSprite3DToAvatarNode(sprite3D:Sprite3D):Boolean 解除精灵节点到Avatar节点的关联,此Animator必须有Avatar文件。 AnimatorEvents Hide Inherited Events Show Inh...
来源: laya_api 发布时间: 20170929
...alone.version/libs/laya.ui.js I/ViewRootImpl: CPU Rendering VSync enable = true I/LayaBox: alert=undefined:5155: SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode let runtime = json.props.runtime; ^^^ SyntaxError: Block-scoped declarations (le...
来源: Laya_社区 发布时间: 20180724
...也能通过,修改 typescript({ check: true, //Set to false to avoid doing any diagnostic checks on the code tsconfigOverride:{compilerOptions:{removeComments: true}} }),如果有 async(){ await xxxx }会报...
来源: Laya_社区 发布时间: 20191017
...ist.mouseHandler = new Handler(this, onSelect) list.selectEnable = true; list.selectHandler = new Handler(this, onSelect); list.renderHandler = new Handler(this, updateItem); return list; } function updateItem(cell, index) { console.log(index); // ...
来源: Laya_社区 发布时间: 20180724
...this.htmlvideo.video; videoTexture.video.play(); videoTexture.video.loop = true; var texture2D = new Laya.Texture2D(videoTexture.video.videoWidth,videoTexture.video.videoHeight); var texture:Laya.Texture = new Laya.Texture(texture2D); var image:Laya.Image = new Laya.Image(); image.texture = texture;...
来源: Laya_社区 发布时间: 20240305
...的矩阵对象 _tempResultMatrix,只有实时计算的时候才设置为true Default value alpha: number = 1 Returns void drawBonePoint drawBonePoint(graphics: Graphics): void Defined in laya/ani/bone/BoneSlot.ts:442 画骨骼的起始点,方便调试 Parameters graphics: Graphics Returns void ...
来源: Laya3.0_api 发布时间: 20231115
...mission.ACCESS_COARSE_LOCATION" /> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name"> <activity android:name="demo.MainActivity" android:screenOrientation="landscape" android:windowSoftInputMode="stateHidden|adjustPan" android:con...
来源: Laya_社区 发布时间: 20170722
...ns boolean 此事件类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/events/EventDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注...
来源: Laya3.0_api 发布时间: 20231115
...esource.lock Defined 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...
来源: Laya3.0_api 发布时间: 20231115