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

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

1061. laya.display.Text [ 39%]

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

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

1062. drawTexture 画出来的数据会有以前的数据 [ 38%]

...出,那个list中的数据也存在,但没渲染出。 2.0 drawTexture color参数无效 斜角透视的感觉怎么弄出来呀?? 打包出来后的APP打开加载速度过慢,有黑屏,如何加入闪屏图片 编辑了图片 执行代码说加载不出来资源 这个是怎么回事...

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

1063. 能不能添加一个控件可以让文字和组件实现弹性滚动啊 [ 38%]

...哈哈哈哈哈哈哈哈哈哈哈哈哈哈哈'; text.fontSize = 50; text.color = '#ffffff' panel= new Panel(); panel.vScrollBarSkin="res/home/button_speaker.png"; panel.width=300; panel.height=300; panel.x = 200; panel.y = 200; This.addChild(panel); panel.addChild(text); panel.vScrollBar.m...

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

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

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

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

1065. laya.ui.ColorPicker_API3.0 [ 37%]

...blic/Protected All Inherited Externals Only exported Menu Globals "laya/ui/ColorPicker" ColorPicker Class ColorPicker ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 example 以下示例代码,创建了一个 ColorPicker 实例。 package { import l...

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

1066. 微信小游戏默认项目代码添加unity导出.lh文件,微信开发工具提示错误 [ 37%]

...ansform.rotate(new Laya.Vector3(-30, 0, 0), true, false); this.camera.clearColor = null; //添加方向光 var directionLight: Laya.DirectionLight = this.scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction...

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

1067. laya.display.Input_API3.0 [ 37%]

...ightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bold borderColor cacheAs color components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize editable filters focus font fontSize globalRotation globalScaleX globalScaleY...

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

1068. [BUG]刚体约束问题,移动后约束混乱! [ 37%]

...w Laya.DirectionLight()) as Laya.DirectionLight;     directionLight.color = new Laya.Vector3(1, 1, 1);     //设置平行光的方向     directionLight.transform.worldMatrix.setForward(new Laya.Vector3(-1.0, -1.0, 1.0));          //平面     var plane = this.s...

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

1069. IDE1.7.19.1beta打包apk后后,播放spine动画出现图片缺失 [ 36%]

...ntrol" content="no-siteapp" /> </head> <body style="background-color: #000000"> <!--以下引用了常用类库,如果不使用,可以删除--> <!--核心包,封装了显示对象渲染,事件,时间管理,时间轴动画,缓动,消息交互,socket,本地存...

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

1070. 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