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

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

291. Sprite图片显示不了 [ 58%]

...    Laya.stage.scaleMode = "showall";             Laya.stage.bgColor = "#336699";             showApe();         }         private function showApe():void {             var t:Text = new Text();             t.text = "asdfasd";             t....

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

292. 陀螺仪与加速计(ActionScript-LayaAir基础篇(AS3)-硬件设备相关) [ 58%]

...it(550, 400);     info = new Text();  info.fontSize = 50;  info.color = "#FFFFFF";  info.size(Laya.stage.width, Laya.stage.height);  Laya.stage.addChild(info);     Gyroscope.instance.on(Event.CHANGE, this, onDeviceorientation); }   private function onDeviceorientation(absolut...

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

293. HtmlDivElement限制文本宽度无效? [ 58%]

...合无效(版本2.6) HTMLDivElement 2.0 排版问题 2.0 drawTexture color参数无效 LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 富文本:LayaAir下 HtmlDivElement的使用汇总 关于同为object层,层级设置无效的问题 (此问题已经无效) matter.js mouseconstrain...

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

294. 2D物理-仿生机器人 [ 58%]

...Laya.Laya.stage.scaleMode = Laya.Stage.SCALE_FIXED_AUTO; Laya.Laya.stage.bgColor = "#232628"; this.Construct(); this.eventListener(); } Construct() { let ground = new Laya.Sprite(); Laya.Laya.stage.addChild(ground); let rigidbody = new Laya.RigidBody(); rigidbody.type = "static"; ground.addComponent...

来源: Laya2.0_示例 发布时间: 20250223

295. discard property,please use transform's property instead [ 58%]

...ht = scene.addChild(new Laya.DirectionLight());         directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6);         directionLight.direction = new Laya.Vector3(0, -1.0, -1.0);         //灯光开启阴影         directionLight.shadow = true;         //可见阴影距离   ...

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

296. ☆☆☆☆☆☆☆☆☆☆☆每增加一个 view 都会增加一个 drawcall 吗 ☆☆☆☆☆☆☆☆☆☆☆ [ 58%]

...wcall kezhiyu • 2018-05-23 10:16 __proto.fillText=function(text,x,y,font,color,textAlign){ Stat.drawCall++; if (arguments.length > 3 && font !=null){

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

297. hanzi 正则表达式无效 [ 58%]

...,层级设置无效的问题 (此问题已经无效) 2.0 drawTexture color参数无效 lh文件内meshSprite添加阴影属性无效 LayaAir3D UnityPlug 1.7.13 导出刚体动画无效 matter.js mouseconstraint在微信小游戏中无效 3D动画混合无效 在设计模式里A元素比B元素...

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

298. laya.d3.shader.Shader3D_API3.0 [ 58%]

...IAL PERIOD_SCENE PERIOD_SPRITE RENDER_STATE_BLEND RENDER_STATE_BLEND_CONST_COLOR RENDER_STATE_BLEND_DST RENDER_STATE_BLEND_DST_ALPHA RENDER_STATE_BLEND_DST_RGB RENDER_STATE_BLEND_EQUATION RENDER_STATE_BLEND_EQUATION_ALPHA RENDER_STATE_BLEND_EQUATION_RGB RENDER_STATE_BLEND_SRC RENDER_STATE_BLEND_SRC_...

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

299. Laya3D 中如何解决3D模型上添加文本的问题,类似Unity中的3DText [ 58%]

...式 text:"请修改掉默认的配置", //需要绘制的文本 color:"#000000", //文字的颜色 backgroundColor:"#ffffff", //背景颜色 }; //将传入的配置覆盖掉默认配置 if(!!options && typeof options === "object"){ for(var i in options...

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

300. laya.d3.resource.models.Mesh_API3.0 [ 58%]

...lculateBounds clone cloneTo destroy event getBoneIndices getBoneWeights getColors getIndices getNormals getPositions getSubMesh getTangents getUVs getVertexDeclaration getVertices hasListener isCreateFromURL markAsUnreadbale off offAll offAllCaller on once setBoneIndices setBoneWeights setColors set...

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