大约有 1,439 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0073 秒)
Laya3.0_api(398) Laya_社区(299) Laya2.0_api(251) laya_api(215) Laya2.0_文档(167) Laya3.0_文档(70) Laya2.0_示例(22) Laya_示例(17)
...ght/PointLight" PointLight Class PointLight deprecated PointLight 类用于创建点光。 Hierarchy LightSprite PointLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags ...
来源: Laya3.0_api 发布时间: 20231115
...歉,这里更正一下。 是在1.7.14(包含1.7.14)之后的LayaAir IDE 创建的专案,都会遇到问题。经过测试可以正常运行的引擎是1.7.12、1.7.13。 附上模型输出的资源包,直接使用如下的程式码加载就可以了。Laya.stage.addChild(Laya.Scene.load("res/...
来源: Laya_社区 发布时间: 20180131
... "laya/d3/core/BaseCamera" BaseCamera Class BaseCamera BaseCamera 类用于创建摄像机的父类。 Hierarchy Sprite3D BaseCamera Camera Index Constructors constructor Properties _extra _forward _scene _up _url name tag useOcclusionCulling RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_FORWARDRENDE...
来源: Laya3.0_api 发布时间: 20231115
...e/light/SpotLight" SpotLight Class SpotLight deprecated SpotLight 类用于创建聚光。 Hierarchy LightSprite SpotLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags i...
来源: Laya3.0_api 发布时间: 20231115
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya2.0_api 发布时间: 20190513
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya2.0_api 发布时间: 20190513
...mponent.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Overrides Component.onDestroy Defined in laya/d3/component/staticmesh/StaticBatchMeshRender.ts:151 Returns void onDisable onDisable(): void Over...
来源: Laya3.0_api 发布时间: 20231115
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: laya_api 发布时间: 20170929
...材质 plane.meshRenderer.material = planeMat; //创建球 this.addSphere(); } //添加球体 addSphere(){ let radius = 0.5; let sphere = this.scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createSphere(radius)));...
来源: Laya_社区 发布时间: 20191009
...mponent.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销毁时执行 Returns void onDisable onDisabl...
来源: Laya3.0_api 发布时间: 20231115