大约有 775 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
Laya_社区(393) Laya3.0_api(187) Laya2.0_api(91) laya_api(44) Laya2.0_文档(31) Laya3.0_文档(28) Laya2.0_示例(1)
...位置可用时才会返回信息。 Methods Static clearWatch clearWatch(id: number): void Defined in laya/device/geolocation/Geolocation.ts:96 移除watchPosition安装的指定处理器。 Parameters id: number Returns void Static getCurrentPosition getCurrentPosition(onSuccess: Handler, onError?...
来源: Laya3.0_api 发布时间: 20231115
... // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.accuracy + 'm'); if(info.altitude != null) trace('海拔:' + info.altitude + 'm' + (info.altitudeAccuracy != null ? (',精...
来源: Laya2.0_文档 发布时间: 20210715
... // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.accuracy + 'm'); if(info.altitude != null) trace('海拔:' + info.altitude + 'm' + (info.altitudeAccuracy != null ? (',精...
来源: Laya2.0_文档 发布时间: 20210715
...eritanceKeyframeAnimations Component3D EventDispatcher ObjectSubclasses RigidAnimations, SkinAnimations KeyframeAnimation 类用于帧动画组件的父类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By currentAnimationClipIndex : int[re...
来源: laya_api 发布时间: 20170929
...ce breakTorque connectAnchor currentForce currentTorque destroyed enabled hideFlags id linearBounce linearDamp linearLimitSpring maxAngularLimit maxLinearLimit minAngularLimit minLinearLimit secondaryAxis Methods _initAllConstraintInfo _initialize _setConnectRigidBody _setOwner destroy getPhysicsSim...
来源: Laya3.0_api 发布时间: 20231115
... // 成功获取位置后触发 function onSuccess(info:GeolocationInfo):void { trace('经纬度: (' + info.longitude + '°, ' + info.latitude + '°),精确度:' + info.accuracy + 'm'); if(info.altitude != null) trace('海拔:' + info.altitude + 'm' + (info.altitudeAccuracy != null ? (',精...
来源: Laya2.0_文档 发布时间: 20210714
...edMeshRenderer MeshRenderer 类用于网格渲染器。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By bounds : Bounds[read-only] 获取包围盒,只读,不允许修改其值。 BaseRender castShadow : Boolean 获取是否产生阴影。 Bas...
来源: Laya2.0_api 发布时间: 20190513
video在安卓手机上,怎么设置同层播放,还有怎么设置隐藏控制播放按钮 我用官方的实例写了个播放VIDEO的例子,然后再上面加了一层UI,目的是想点击UI,然后播放我的视频。我在IOS 端 发现可以正常点击,正常播放,但是在...
来源: Laya_社区 发布时间: 20180313
[LayaAirIDE3]laya3.2.3shader预编译后,模型无法显示 运行demo后 1、点击加载角色,可以正常显示(一个黑圈) 2、重新运行,点击预编译,再点击加载角色,角色无法显示。 使用环境: LayaIDE 3.2.3 macOS Sonoma 14.5 显卡:AMD Radeon Pro 550...
来源: Laya_社区 发布时间: 20250217
...leSprite3D, Terrain Sprite3D 类用于实现3D精灵。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3...
来源: laya_api 发布时间: 20170929