• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 5,556 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0138 秒)

891. list item 添加事件后无法监听 [ 77%]

...     console.log("当前选择的索引:" + index); } function createAPIList(api_list_view) {     let data = [];     for (let i = 0; i < 10; i++) {         let text_view = createTextView("12345", "black", 18, innerWidth, 35, "white");         data.push(text_view)  ...

来源: Laya_社区 发布时间: 20180724

892. 不带格式后缀的图片无法成功加载 [ 76%]

...功加载 let url = 'http://sf6-be-pack.pglstatp-toutiao.com/obj/ad.union.api/e285dd263aee2e8f7b302fa8d139de4c' Laya.loader.load(url, Laya.Handler.create(this, () => { let picTemp = Laya.Loader.getRes(url); console.log(picTemp.width) // undefined let nodee = new Laya.Sprite() nodee.texture = picT...

来源: Laya_社区 发布时间: 20211026

893. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 76%]

... 新建个项目,把下载的qrcode.js添加到index.html中。qrcode的api请参考[地址](https://github.com/davidshimjs/qrcodejs)。具体的逻辑代码如下: ```typescript //初始化引擎 Laya.init(600,400); Laya.stage.bgColor = "#ffcccc"; var div = Laya.Browser.document.createElement("...

来源: Laya2.0_文档 发布时间: 20210714

894. 物理射线检测(ActionScript-3D基础(AS3)-LayaAir3D之物理系统) [ 76%]

...景属性中的**PhysicsSimulation物理模拟器**。详情可以查看[Api地址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=3D&category=BulletPhysics&class=laya.d3.physics.PhysicsSimulation)。射线检测使用的接口有4个,分为两类。`raycastFromTo`...

来源: Laya2.0_文档 发布时间: 20210715

895. laya.effect.EffectBase_API3.0 [ 76%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/effect/EffectBase" EffectBase Class EffectBase 效果插件基类,基于对象池管理 Hierarchy Component EffectBase FadeIn Fad...

来源: Laya3.0_api 发布时间: 20231115

896. laya.d3.core.scene.bvhscenerendermanager.BVHRenderBox_API3.0 [ 76%]

Search Preparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/scene/BVHSceneRenderManager/BVHRenderSpatialBox" BVHRenderBox Class BVHRenderBox<T> Type parameters T Hierarchy BVHSp...

来源: Laya3.0_api 发布时间: 20231115

897. 物理射线检测(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 76%]

...景属性中的**PhysicsSimulation物理模拟器**。详情可以查看[Api地址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=3D&category=BulletPhysics&class=laya.d3.physics.PhysicsSimulation)。射线检测使用的接口有4个,分为两类。`raycastFromTo`...

来源: Laya2.0_文档 发布时间: 20210715

898. 物理射线检测(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 76%]

...景属性中的**PhysicsSimulation物理模拟器**。详情可以查看[Api地址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=3D&category=BulletPhysics&class=laya.d3.physics.PhysicsSimulation)。射线检测使用的接口有4个,分为两类。`raycastFromTo`...

来源: Laya2.0_文档 发布时间: 20210715

899. RadioGroup属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 76%]

...时候就确定好实际应用时的大小。* ### 1.3 RadioGroup组件的API介绍 RadioGroup 的API介绍请参考 [ http://layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.ui.RadioGroup](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI...

来源: Laya2.0_文档 发布时间: 20210715

900. RadioGroup属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 76%]

...时候就确定好实际应用时的大小。* ### 1.3 RadioGroup组件的API介绍 RadioGroup 的API介绍请参考 [ http://layaair.ldc.layabox.com/api/index.html?category=Core&class=laya.ui.RadioGroup](https://layaair2.ldc2.layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI...

来源: Laya2.0_文档 发布时间: 20210714