大约有 3,244 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0075 秒)
Laya_社区(2446) Laya3.0_api(242) Laya2.0_文档(138) Laya2.0_api(136) laya_api(135) Laya3.0_文档(77) Laya_示例(52) Laya2.0_示例(18)
...r.create(this, onLoaded), laya.utils.Handler.create(this, onLoading, null, false)); //加载进度 function onLoading(progress){ console.log("onLoading: " + progress); } //加载完毕 function onLoaded(){ console.log("onLoaded"); } 我们刷新页面看看有什么效果 如下图所示 我们看...
来源: Laya_社区 发布时间: 20160722
...则不视为一次点击 Static isTextInputting isTextInputting: boolean = false Defined in laya/events/InputManager.ts:33 当前是否正在输入文字 Static isiOSWKwebView isiOSWKwebView: boolean = false Defined in laya/events/InputManager.ts:34 Static keyEventsEnabled keyEventsEnabled: boolean ...
来源: Laya3.0_api 发布时间: 20231115
...))) as Laya.MeshSprite3D; box.transform.rotate(new Laya.Vector3(0, 45, 0), false, false); var material: Laya.StandardMaterial = new Laya.StandardMaterial(); material.diffuseTexture = Laya.Texture2D.load("res/layabox.png"); box.meshRender.material = material; var layaMonkey = scene.addChild(Laya.Spri...
来源: Laya_社区 发布时间: 20180312
....gif) (图7) 设置 HScrollBar 的属性 showButtons 的值为 false时的显示效果:  (图8) 在程序里运行时的效果:  (图9) ### 1.2 HScrollBar 组件常用属性  ...
来源: Laya2.0_文档 发布时间: 20210715
....gif) (图7) 设置 VScrollBar 的属性 showButtons 的值为 false时的显示效果:  (图8) 在程序里运行时的效果:  (图9) ### 1.2 VScrollBar 组件常用属性  ...
来源: Laya2.0_文档 发布时间: 20210715
...。"); } else if (firstTime && !absolute && !Browser.onIOS) { firstTime = false; alert("在当前设备中无法获取地球坐标系,使用设备坐标系,你可以继续观赏,但是提供的方位并非正确方位。"); } // 更新角度显示 degreesText.text = 360 - Math.floor(info.alpha...
来源: Laya2.0_示例 发布时间: 20251209
...ource/Resource.ts:101 获取资源的UUID。 Static DEBUG DEBUG: boolean = false Inherited from Resource.DEBUG Defined in laya/resource/Resource.ts:18 Accessors cpuMemory get cpuMemory(): number Inherited from Resource.cpuMemory Defined in laya/resource/Resource.ts:116 内存大小。 Returns number...
来源: Laya3.0_api 发布时间: 20231102
...t.ts:232 表示 Alt 键是处于活动状态 (true) 还是非活动状态 (false)。 Returns boolean charCode get charCode(): string Defined in laya/events/Event.ts:268 包含按下或释放的键的字符代码值。字符代码值为英文键盘值。 Returns string ctrlKey get ctrlKey(): boolean ...
来源: Laya3.0_api 发布时间: 20231115
...alue name: string = null 精灵名称。 Default value isStatic: boolean = false 是否为静态。 Returns Sprite3D Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node...
来源: Laya3.0_api 发布时间: 20231115
...(0, 0.7, 1.2)); camera.transform.rotate(new Laya.Vector3(-15, 0, 0), true, false); var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(1, 1, 1); //灯光开启阴影 directionLight.shadow = ...
来源: Laya_示例 发布时间: 20251209