大约有 402 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0069 秒)
Laya_社区(223) Laya2.0_文档(48) Laya3.0_文档(46) Laya3.0_api(38) laya_api(25) Laya2.0_api(17) Laya_示例(4) Laya2.0_示例(1)
...t.transform.worldMatrix.setForward(new Laya.Vector3(1, -1, 0)); //添加自定义模型 var box = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(1, 1, 1))); box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material = new Laya.BlinnPhongMaterial(); Laya.Texture2D...
来源: Laya_社区 发布时间: 20201021
...tomRenderEnable Defined in laya/display/Sprite.ts:327 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Parameters b: boolean Returns void dataSource get dataSource(): any set dataSource(value: any): void Inherited from UIComponent.dataSource D...
来源: Laya3.0_api 发布时间: 20231115
...6, 0.6); directionLight.direction = new Laya.Vector3(1, -1, 0); //添加自定义模型 var box : Laya.Sprite3D = scene.addChild(Laya.Sprite3D.load("res/Scene.lh")) as Laya.Sprite3D; box.transform.rotate(new Laya.Vector3(0, 0, 0), false, false); //旋转方向与角度设置 var vect:Laya.Vector3 = ...
来源: Laya_社区 发布时间: 20180808
...是3D世界中的脚本,继承自组件,是组件的一种。该类被定义为 '抽象类' ,不允许实例。该类提供了一系列虚方法。详细使用可以去API中查看([地址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=3D&class=laya.d3.component.Script3D))...
来源: Laya2.0_文档 发布时间: 20210714
...是3D世界中的脚本,继承自组件,是组件的一种。该类被定义为 '抽象类' ,不允许实例。该类提供了一系列虚方法。详细使用可以去API中查看([地址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=3D&class=laya.d3.component.Script3D))...
来源: Laya2.0_文档 发布时间: 20210715
... 要回复问题请先登录 发起人 magmaster 相关问题 分享:自定义事件派发与侦听(A页面派发 B页面侦听) 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 游戏运行在chrome里面 听不见声音 谷歌浏览器播...
来源: Laya_社区 发布时间: 20170429
...屏图片 LAYA3.0 BEAT 6 无法打开工程项目!急急急! dialog 自定义关闭效果,效果执行完,弹窗无法关闭 点击代码编辑模器 就提示无法打开代码编辑器 请配置 这个怎么解决? laya2 发布微信开放域工程,用微信开发者工具打开报错 ...
来源: Laya_社区 发布时间: 20231221
...摄像机,以供后续逻辑操作。开发者们也可以在unity中自定义摄像机的名字。
来源: Laya2.0_文档 发布时间: 20210715
... ShurikenParticleRender _addShaderDefine(value:int):void 增加Shader宏定义。 BaseRender _removeShaderDefine(value:int):void 移除Shader宏定义。 BaseRender _renderUpdate(projectionView:Matrix4x4):void[override] ShurikenParticleRender _setShaderValueBool(shaderIndex:int, b:Boolean):voi...
来源: laya_api 发布时间: 20170929
...tomRenderEnable Defined in laya/display/Sprite.ts:327 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Parameters b: boolean Returns void dataSource get dataSource(): any set dataSource(value: any): void Inherited from UIComponent.dataSource D...
来源: Laya3.0_api 发布时间: 20231115