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

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

491. 2D性能优化 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

...此外,此过程涉及CPU计算,动态更新时将会降低性能。 ColorFiter在WebGL下的GPU消耗可以忽略不计。 最佳的做法是,尽可能使用图像创作工具创建的位图来模拟滤镜。避免在运行时中创建动态位图,可以帮助减少CPU或GPU负载。特别...

来源: Laya3.0_文档 发布时间: 20251010

492. 组件脚本的内置方法 · LayaAir3.3 · 引擎文档 · LAYABOX [ 38%]

...getComponent(Laya.MeshRenderer).material as Laya.BlinnPhongMaterial).albedoColor = new Laya.Color(0.0, 1.0, 0.0, 1.0);//绿色 } /** * 发生持续物理碰撞时的3D物理碰撞器事件(不适用2D),也就是碰撞生命周期内的第二次碰撞到碰撞结束前,每帧都在触发调...

来源: Laya3.0_文档 发布时间: 20251010

493. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 37%]

...ction LayaUISample() { //初始化引擎 Laya.init(600, 400); Laya.stage.bgColor ="#cccccc"; var data:String= "data:image/svg+xml,"+'' + '' + '' + 'I like ' + '' + 'cheese' + '' + '' + ''; var sp:Sprite = new Sprite(); sp.loadImage(data,0,0,200,200); Laya.stage.addChild(sp); } } } ``` 通过data来...

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

494. laya.d3.core.Camera_API3.0 [ 36%]

...essors active activeInHierarchy aspectRatio boundFrustum canblitDepth clearColor clientHeight clientWidth components cullingMask depthTextureFormat depthTextureMode destroyed displayedInStage enableBlitDepth enableBuiltInRenderTexture enableHDR farPlane fieldOfView fxaa hideFlags id is3D layer maxlo...

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

495. laya.display.Input [ 36%]

...Bounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这...

来源: laya_api 发布时间: 20170929

496. laya.ui.Label [ 36%]

...unds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  bold : Boolean 指定文本是否为粗体字。 默认值为 false,...

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

497. laya.display.Text [ 36%]

...unds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  bold : Boolean 指定文本是否为粗体字。 默认值为 false,这...

来源: laya_api 发布时间: 20170929

498. laya.d3.webxr.core.WebXRCamera_API3.0 [ 36%]

...essors active activeInHierarchy aspectRatio boundFrustum canblitDepth clearColor components cullingMask depthTextureFormat depthTextureMode destroyed displayedInStage enableBlitDepth enableBuiltInRenderTexture enableHDR farPlane fieldOfView fxaa hideFlags id is3D layer maxlocalYDistance msaa nearPla...

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

499. Laya 安卓端 在服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后才不会报这个错。。才能进去 [ 36%]

...去 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px 'Helvetica Neue'; color: #454545} span.s1 {font: 12.0px '.PingFang SC'} 12-09 22:04:33.105 12728-12832/? E/LayaBox: >>>>>>>>>>>>>>>>>>>>>>>>>>>>className:layaai...

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

500. 2.12.2beta1 诸多bug [ 36%]

... Laya.HTMLDivElement(); ele.innerHTML = "<span href='_test' style='color:#FFFFFF;font-weight:bold'>HTMLDivElement</span>"; ele.on(Laya.Event.LINK, this, (event: Laya.Event) => { console.log(event); }); Laya.stage.addChild(ele); zyy • 2021-11-09 13:51 @Laya_Fred: 这段代...

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