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

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

351. 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_示例 发布时间: 20260303

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

353. ☆☆☆☆☆☆☆☆☆☆☆每增加一个 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

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

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

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

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

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

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

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

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

358. as模式下的showAssistantTouch方法无效 [ 58%]

...题 FD 宏编译时 出现 试图访问该方法时失败 2.0 drawTexture color参数无效 Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? mac 用layaair2.0 ide 的编辑模式下,cpu爆满 matter.js mouseconstraint在微信小游戏中无效 关于同为object层,层...

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

359. 分包后, 资源加载问题 [ 58%]

...ask"}}]},{"type":"Text","props":{"y":234,"x":105,"text":"%","fontSize":30,"color":"#008aff"}},{"type":"Text","props":{"y":234,"x":53,"var":"text","text":"0","fontSize":30,"color":"#008aff"}}],"animations":[{"nodes":[{"target":3,"keyframes":{"y":[{"value":192,"tweenMethod":"linearNone","tween":true,"...

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

360. laya.d3.core.particleshuriken.ShurikenParticleMaterial_API3.0 [ 58%]

...ion blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB color colorA colorB colorG colorR cpuMemory cull depthTest depthWrite destroyed gpuMemory id materialRenderMode obsolute referenceCount renderMode shaderData stencilOp stencilRef stencilTest stencilWrite texture tilingOffset ...

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