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

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

661. 射线检测-放置物体 [ 29%]

...box.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, 0.9, 1); plane.meshRender.material = planeMat; var meshCollider = plane.addComponent(Laya.MeshCollider); meshCollider.mesh = plane.meshFilter.sharedMesh; Laya.timer.frameLoop(1, this, checkHit); var ray = new Laya.Ray(new Laya.Vector3(0, 0, 0),...

来源: Laya_示例 发布时间: 20251209

662. laya.display.Sprite [ 29%]

...map"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲...

来源: Laya2.0_api 发布时间: 20190513

663. laya.display.Sprite [ 28%]

...map"时,canvas模式下进行依然是画布缓存,webgl模式下使用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲...

来源: laya_api 发布时间: 20170929

664. 分享,扩展Laya.Text组件实现简单的富文本 [ 28%]

...线颜色 /** * 渲染文字 * @param begin * @param visibleLineCount */ renderText(begin, visibleLineCount) { var graphics = this.graphics; graphics.clear(true); var ctxFont = (this.italic ? "italic " : "") + (this.bold ? "bold " : "") + this.fontSize + "px " + (Browser.onIPhone ? (laya.display.Tex...

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

665. laya.display.Sprite_API3.0 [ 27%]

...activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea is3D mask mouseEnabled mouseX mouseY numChildren parent pi...

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

666. 射线检测-碰撞器混合 [ 27%]

...nLight; import laya.d3.core.material.StandardMaterial; import laya.d3.core.render.RenderState; import laya.d3.core.scene.Scene; import laya.d3.math.OrientedBoundBox; import laya.d3.math.Plane; import laya.d3.math.Quaternion; import laya.d3.math.Ray; import laya.d3.math.Vector2; import laya.d3.math.V...

来源: Laya_示例 发布时间: 20251209

667. 射线检测-点击行走 [ 27%]

...box.png"); planeMat.albedo = new Laya.Vector4(0.9, 0.9, 0.9, 1); plane.meshRender.material = planeMat; var meshCollider = plane.addComponent(Laya.MeshCollider); meshCollider.mesh = plane.meshFilter.sharedMesh; var box = scene.addChild(new Laya.MeshSprite3D(new Laya.BoxMesh(0.5, 0.5, 0.5))); var mat ...

来源: Laya_示例 发布时间: 20251209

668. LayaAir3D UnityPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) [ 27%]

...点:         1. Transform       2. MeshFilter         3. MeshRenderer      4. SkinnedMeshRenderer          5. Animation       6. Animator (新)    7. Terrain                  8. ParticleSystem(使用须知)                  关于导出工具的使用,...

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

669. laya.display.Animation_API3.0 [ 26%]

...hy alpha anchorX anchorY autoPlay blendMode cacheAs components count customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters frames globalRotation globalScaleX globalScaleY graphics height hideFlags hitArea index interval is3D isPlaying mask mouseEnabled mou...

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

670. 打CPK包在手机上运行会白屏,手机测试型号VIVO1419L。 [ 26%]

...514/com.vivo.vs I/BrowserStartupController: Initializing chromium process, renderers=0 10-13 17:31:15.891 6514-6514/com.vivo.vs W/art: Attempt to remove local handle scope entry from IRT, ignoring 10-13 17:31:15.901 6514-6514/com.vivo.vs W/chromium: [WARNING:resource_bundle.cc(315)] locale_file_path...

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