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

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

211. dialog 里的数据已经获取到了,也赋值了但是页面没跟新,addChild好像无效果 [ 68%]

...12-21 0 0 分享 微博 QZONE 微信 内涵tv何吓吓 赞同来自: 你是1.0还是2.0的,2.0的是自动更新,在onEnable()方法里面,如果是1.0你应该在打开dialog之前更新呐 2018-12-21 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题...

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

212. Uncaught Can not find class EffectAnimation undefined [ 68%]

...-13 0 3 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 2.0的机制和1.0有所不同,这种情况应该是底层无法注册runtime 所以找不到,造成这种情况的用法,一般就是scene里面套scene之类的,ts,和js 是无法这样操作的。。。用代码操作或者用...

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

213. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 68%]

...ion() { // Fill the buffer with white noise; //just random values between -1.0 and 1.0 for (var channel = 0; channel < channels; channel++) { // This gives us the actual ArrayBuffer that contains the data var nowBuffering = myArrayBuffer.getChannelData(channel); for (var i = 0; i < frameCount; i++) ...

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

214. PBRStandardMaterial材质详解(TypeScript-3D基础(TS)-模型材质详解) [ 68%]

# PBRStandardMaterial材质详解 ###### *version :2.1.0beta Update:2019-5-14* 基于物理普通反射材质,硬质表面(也就是建筑材质)而设计的,一般用于做粗糙质感的材质。 ##### 主要属性和方法 > 属性 `albedoColor:Vector4` 漫反射颜色。 `albedoTexture:B...

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

215. 通过PrimitiveMesh创建简单Mesh(ActionScript-3D基础(AS3)-LayaAir3D之模型和网格) [ 67%]

...e(0.25, 20, 20))) as MeshSprite3D; sphere.transform.position = new Vector3(1.0, 0.25, 0.6); //圆柱体 var cylinder:MeshSprite3D = sprite3D.addChild(new MeshSprite3D(PrimitiveMesh.createCylinder(0.25, 1, 20))) as MeshSprite3D; cylinder.transform.position = new Vector3(0, 0.5, 0.6); //胶囊体 var ...

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

216. 和原生Dom交互 · LayaAir3.0文档 · LAYABOX [ 67%]

...ion() { // Fill the buffer with white noise; //just random values between -1.0 and 1.0 for (var channel = 0; channel &lt; channels; channel++) { // This gives us the actual ArrayBuffer that contains the data var nowBuffering = myArrayBuffer.getChannelData(channel); for (var i = 0; i &lt; frameCount;...

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

217. 分享水波一个shader [ 67%]

...ing vec3 v_normal; varying vec4 v_wpos; void main() { float _NoiseSpeedX = 1.0; float _NoiseSpeedY = 1.0; float _NoiseScaleX = 0.2; float _NoiseScaleY = 0.2; float _SpecularGlossy = 0.16; float _SpecularIntensity = 0.5; float _NoiseBrightOffset = 0.25; vec2 tuv1 = v_textcoord + vec2(u_Time * _NoiseS...

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

218. laya3d导入模型动画,添加光照之后,模型全黑。 [ 67%]

...t.color = new Vector3(1, 1, 1); directionLight.direction = new Vector3(0, -1.0, -1.0); 如果还是达不到你想要的效果的话就尝试更改一下你的材质 材质与灯光的详细介绍连接 https://ldc.layabox.com/doc/?nav=zh-as-4-0-7 2018-04-10 0 2 分享 微博 QZONE 微信 xixi39 赞...

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

219. PBRStandardMaterial材质详解(ActionScript-3D基础(AS3)-模型材质详解) [ 67%]

# PBRStandardMaterial材质详解 ###### *version :2.1.0beta Update:2019-5-14* 基于物理普通反射材质,硬质表面(也就是建筑材质)而设计的,一般用于做粗糙质感的材质。 ##### 主要属性和方法 > 属性 `albedoColor:Vector4` 漫反射颜色。 `albedoTexture:B...

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

220. 灯光-点光 [ 67%]

...mator = aniSprite3d.getComponentByType(Laya.Animator); animator.play(null, 1.0, 75, 110); }); var _position = new Laya.Vector3(); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); Laya.Vector3.transf...

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