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

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

1511. 陀螺仪与加速计 · LayaAir3.3 · 引擎文档 · LAYABOX [ 55%]

...Gravity: Laya.AccelerationInfo, rotationRate: Laya.RotationInfo, interval: number): void { this.info.text = 'acceleration:(' + acceleration.x.toFixed(3) + ', ' + acceleration.y.toFixed(3) + ', ' + acceleration.z.toFixed(3) + ')\n' + 'accelerationIncludingGravity:(' + accelerationIncludingGravity.x.t...

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

1512. 输入框为什么字会偏上 [ 55%]

...程中。边做监听。需要怎么做吗? 把textInput的type设置为number的时候无法设置最多能输入的字数 android 新版打包要求输入js或者json,而不是html路径 我应该如何处理 TextInput在手机上文字输入位置不对 layaair输入法瞬间错误显示问...

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

1513. laya.components.Animation2DParm_API3.0 [ 55%]

...ype Defined in laya/components/Animation2DParm.ts:5 value value: boolean | number Defined in laya/components/Animation2DParm.ts:6 Globals "laya/components/Animation2DParm" Animation2DParm name type value Legend Object literal Variable Function Type alias Class Class with type parameter Property Enum...

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

1514. 陀螺仪与加速计(TypeScript-LayaAir基础篇(TS)-硬件设备相关) [ 55%]

...Gravity: Laya.AccelerationInfo, rotationRate: Laya.RotationInfo, interval: number): void { this.info.text = 'acceleration:(' + acceleration.x.toFixed(3) + ', ' + acceleration.y.toFixed(3) + ', ' + acceleration.z.toFixed(3) + ')\n' + 'accelerationIncludingGravity:(' + accelerationIncludingGravity.x.t...

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

1515. 高级应用-寻路导航 [ 55%]

...ivate _quaternion: Laya.Quaternion = new Laya.Quaternion(); private index: number = 0; private curPathIndex: number = 0; private nextPathIndex: number = 1; private moveSprite3D: Laya.Sprite3D; private pointCount: number = 10; private scene: Laya.Scene; constructor() { Laya3D.init(0, 0, true); Laya.s...

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

1516. SkyBoxMaterial材质详解(TypeScript-3D基础(TS)-天空材质详解) [ 55%]

...主要属性和方法 > 属性 `tintColor:Vector4` 颜色。 `exposure:Number` 曝光强度。 `textureCube:TextureCube` 天空盒纹理。 #### 创建和使用材质 下面的代码来自于官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Sky&name...

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

1517. SkyBoxMaterial材质详解(JavaScript-3D基础(JS)-天空材质详解) [ 55%]

...主要属性和方法 > 属性 `tintColor:Vector4` 颜色。 `exposure:Number` 曝光强度。 `textureCube:TextureCube` 天空盒纹理。 #### 创建和使用材质 下面的代码来自于官方示例([demo地址](https://layaair.ldc.layabox.com/demo2/?language=ch&category=3d&group=Sky&name...

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

1518. Laya.loader.maxLoader过小 会造成不加载 [ 55%]

...msdandan 赞同来自: /** 最大下载线程,默认为5个*/ maxLoader: number;   2017-11-15 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 lifereset 相关问题 加载到舞台的3D模型不显示贴图 请问下加载TFF字体要...

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

1519. laya.components.Animation2DCondition_API3.0 [ 55%]

...any Defined in laya/components/Animation2DCondition.ts:39 检测值 id id: number Defined in laya/components/Animation2DCondition.ts:31 id编号 type type: AniConditionType Defined in laya/components/Animation2DCondition.ts:35 动画条件 Globals "laya/components/Animation2DCondition" AniConditionT...

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

1520. LayaNative下支持XML方法属性汇总! [ 55%]

...ring textContent:string value:* childNodes:Array attributes:Array nodeType:Number firstChild 方法: getElementsByTagName(name:string):Array getAttribute(name:string):string针对以上的情况,我们不建议开发者使用XML,最好可以转成JSON格式,便于更好的兼容!      ...

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