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

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

401. laya.display.FrameAnimation [ 78%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cache...

来源: laya_api 发布时间: 20170929

402. Byte二进制读写(JavaScript-LayaAir基础篇(JS)-数据与通信) [ 78%]

...);//清除所有数据归零。 ``` - **getSystemEndian()**:string[static] 获取系统的字节存储顺序。 ```typescript console.log(Laya.Byte.getSystemEndian());//打印系统的字节顺序 ``` - ### 属性 - **BIG_ENDIAN** : string= bigEndian[static] 表示多字节数字的最高有效字...

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

403. 为什么会出现报错 ani not found:ufo1_down [ 78%]

...ole",role); } } // 处理发射子弹逻辑 if(role.shootType > 0) { // 获取当前浏览器时间 var time = Laya.Browser.now(); // 如果当前时间大于下次射击时间 if(time > role.shootTime) { // 更新下次射击时间 role.shootTime = time + role.shootInterval; // 根据不同...

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

404. laya.d3.core.light.SpotLight [ 78%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3D  attenuation : Vector3 获取聚光的衰减。 SpotLight color : Vector3 灯光颜色。 LightSprite...

来源: laya_api 发布时间: 20170929

405. TypeError: Cannot read property 'length' of null [ 78%]

...通过Laya.Pool.getItemByCreateFun("hero", this.pHero.create, this.pHero)获取这个对象时,获取成功,设置对象位置为新位置无效,日志打印还是a场景所在位置 添加对象到b场景中,dump了,错误信息如下: TypeError: Cannot read property 'length' of null at Sprite._s...

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

406. laya.map.TileAniSprite [ 78%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...

来源: Laya2.0_api 发布时间: 20190513

407. laya.d3.core.light.LightSprite [ 78%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node  color : Vector3 灯光颜色。 LightSprite destroyed : Boolean = false[只读]是否已经销毁。对象销...

来源: Laya2.0_api 发布时间: 20190513

408. Byte二进制读写(ActionScript-LayaAir基础篇(AS3)-数据与通信) [ 78%]

...);//清除所有数据归零。 ``` - **getSystemEndian()**:String[static] 获取系统的字节存储顺序。 ```typescript trace(Byte.getSystemEndian());//打印系统的字节顺序 ``` - ### 属性 - **BIG_ENDIAN** : String= bigEndian[static] 表示多字节数字的最高有效字节位于字...

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

409. laya.particle.Particle2D [ 78%]

...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...

来源: Laya2.0_api 发布时间: 20190513

410. laya.display.Input [ 78%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定...

来源: laya_api 发布时间: 20170929