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

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

181. [LayaAirIDE3]3D寻路 动态区域体积(Nav Mesh Modifier Volume) 无效 [ 62%]

...问题 Dialog:屏蔽点击Dialog之外的区域关闭弹框 如何设置Sprite的宽高和点击区域? 救命!canvas定位后 点击区域偏移,求大大们解答 动画混合无效(版本2.6) 求问shader中的attribute变量怎么动态修改 iphoneX环境下新手引导的抠图透...

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

182. 一个关于getPixels的问题 [ 62%]

一个关于getPixels的问题 空工程中代码如下: Main.js: const Sprite = Laya.Sprite; const Text = Laya.Text; const Texture = Laya.Texture;  Laya.init(800, 600);  var txt = new Text(); txt.pos(200, 200); txt.color = "#FFFFFF"; txt.text = "000000"; Laya.stage.addChild(txt);  var spr = n...

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

183. 关于自定义Shader中使用 u_AmbientColor 这个Uniform变量的问题 [ 62%]

...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale Laya2.0 WebGl模式,使用 drawToCanvas 报错 ImageData is not defined? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node...

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

184. 第一个hellolayabox就报错了,求助! [ 62%]

... 代码: package { /** * ... * @author xueyandy */ import flash.display.Sprite; import laya.display.Text; public class HelloLayabox extends Sprite { public function HelloLayabox() { trace("Hello,World"); //创建舞台,默认背景色是黑色的 Laya.init(600, 300); return; var txt:Text = new T...

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

185. 材质-BlinnPhong材质加载 [ 62%]

... new Laya.Vector3(1, -1, -1); var layaMonkey = scene.addChild(new Laya.MeshSprite3D(Laya.Mesh.load("../../res/threeDimen/skinModel/LayaMonkey/Assets/LayaMonkey/LayaMonkey-LayaMonkey.lm"))); //加载材质 layaMonkey.meshRender.material = Laya.StandardMaterial.load("../../res/threeDimen/skinModel/Lay...

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

186. 2D光遮挡器与阴影 · LayaAir3.3 · 引擎文档 · LAYABOX [ 62%]

...) export class LightOccluder extends Laya.Script { private spotLight: Laya.Sprite = new Laya.Sprite(); private background: Laya.Sprite = new Laya.Sprite(); private lightOccluder: Laya.Sprite = new Laya.Sprite(); private backgroundTexture: string = "resources/bg2.png"; //组件被启用后执行,...

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

187. 自定义3D Shader · LayaAir3.3 · 引擎文档 · LAYABOX [ 62%]

...属GLSL文件(高阶操作不推荐直接使用) u_WorldMat 世界矩阵 Sprite3DCommon.glsl u_ProjectionParams(near, far, invert, 1 / far) 投影参数 Camera.glsl u_Viewport(x, y, width, height) 视口 Camera.glsl u_CameraDirection 相机方向 Camera.glsl u_CameraUp 相机上朝向 Camera.glsl u_...

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

188. laya.d3.core.light.LightSprite [ 62%]

...umentationAll Packages | All Classes | Index | Frames No Frames LightSpriteProperties | Methods | Events | Constants Packagelaya.d3.core.lightClasspublic class LightSpriteInheritanceLightSprite Sprite3D ComponentNode Node EventDispatcher ObjectSubclasses DirectionLight, PointLight, SpotLig...

来源: laya_api 发布时间: 20170929

189. 请教一个图片处理成黑白的问题 [ 61%]

...有一点 ,需求中往往是希望一批图片都变色,比如一个sprite里面的元素都变成灰色,而后在某个时候这个sprite里面的元素都变回彩色,并且这个sprite里面的元素是变化的,有添加和删除 2017-06-15 0 0 分享 微博 QZONE 微信 189*****192 ...

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

190. laya.ui.TextInput_API3.0 [ 61%]

...fined in laya/display/Node.ts:56 _graphics _graphics: AutoBitmap Overrides Sprite._graphics Defined in laya/ui/TextInput.ts:118 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in ...

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