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

大约有 548 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0044 秒)

441. laya.physics.PolygonCollider_API3.0 [ 31%]

...herited from Component.hasHideFlag Defined in laya/components/Component.ts:60 Parameters flag: number Returns boolean onAdded onAdded(): void Inherited from Component.onAdded Defined in laya/components/Component.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也...

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

442. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 31%]

.../调整相机的位置 camera.transform.translate(new Laya.Vector3(0, 45, -60)); camera.transform.rotate(new Laya.Vector3(0, 180, 0), false, false); //相机视角控制组件(脚本) camera.addComponent(CameraMoveScript); //添加光照 var directionLight = _scene.addChild(new Laya.DirectionLight()...

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

443. 富文本:LayaAir下 HtmlDivElement的使用汇总 [ 31%]

...HTMLDivElement ; Laya.stage.addChild(t); t.style.valign = "middle"; t.size(60, 120); t.style.wordWrap = true; t.style.leading = 10; t.innerHTML = "akshfkjashfkjhakshjdfhkasjdfhsaf"; 总结:以上的方法仅供参考,某些方法只是实现方式的一种,开发者也可以通过其他方式...

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

444. laya.resource.AtlasResource_API3.0 [ 31%]

... from Resource.destroyUnusedResources Defined in laya/resource/Resource.ts:60 销毁当前没有被使用的资源,该函数会忽略lock=true的资源。 Returns void Globals "laya/resource/AtlasResource" AtlasResource constructor _id destroyedImmediately dir frames lock name textures url uuid DEBU...

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

445. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 31%]

.../调整相机的位置 camera.transform.translate(new Laya.Vector3(0, 45, -60)); camera.transform.rotate(new Laya.Vector3(0, 180, 0), false, false); //相机视角控制组件(脚本) camera.addComponent(CameraMoveScript); //添加光照 var directionLight = _scene.addChild(new Laya.DirectionLight()...

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

446. laya.d3.physics.PhysicsComponent_API3.0 [ 31%]

...herited from Component.hasHideFlag Defined in laya/components/Component.ts:60 Parameters flag: number Returns boolean onAdded onAdded(): void Inherited from Component.onAdded Defined in laya/components/Component.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也...

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

447. laya.d3.component.animator.AnimatorController_API3.0 [ 31%]

... from Resource.destroyUnusedResources Defined in laya/resource/Resource.ts:60 销毁当前没有被使用的资源,该函数会忽略lock=true的资源。 Returns void Globals "laya/d3/component/Animator/AnimatorController" AnimatorController constructor _id clipsID data destroyedImmediately lock na...

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

448. laya.physics.ChainCollider_API3.0 [ 31%]

...herited from Component.hasHideFlag Defined in laya/components/Component.ts:60 Parameters flag: number Returns boolean onAdded onAdded(): void Inherited from Component.onAdded Defined in laya/components/Component.ts:262 被添加到节点后调用,和Awake不同的是即使节点未激活onAdded也...

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

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

...项目。代码如下所示: ```typescript //初始化引擎 Laya.init(600, 400, Laya.WebGL); Laya.stage.bgColor = "#ffcccc"; var data = "data:image/svg+xml," + '' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var sp = new Laya.Sprite(); sp.loadImage(data, 0, 0, 200, 200); Laya.stage.addCh...

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

450. laya.resource.Prefab_API3.0 [ 31%]

... from Resource.destroyUnusedResources Defined in laya/resource/Resource.ts:60 销毁当前没有被使用的资源,该函数会忽略lock=true的资源。 Returns void Globals "laya/resource/HierarchyResource" Prefab constructor _id destroyedImmediately lock name url uuid version DEBUG cpuMemory dep...

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