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

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

301. 批量销毁释放内存(JavaScript-3D基础(JS)-LayaAir3D的内存管理) [ 58%]

...时,资源上锁 ​ 使用对应的资源加载方式加载资源时,通过对回调拿到的资源对象直接上锁实现。对应资源的加载方式可以查看 **资源加载篇** 的 **资源加载** 节,不包括场景与预设的加载。单个场景与预设的加载回调值类型...

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

302. 转换2D屏幕坐标系统到3D正交投影下的坐标系统位置偏差 [ 58%]

...面这个代码设置,另外如果您需要修改模型的位置,其实通过设置他渲染的tetxure的节点位置来修改的,如下图一。let cube = new MeshSprite3D(PrimitiveMesh.createBox()); scene.addChild(cube); let pos = new Vector3(); let screenPos = new Vector3(); Laya.timer.fram...

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

303. laya.ui.WXOpenDataViewer_API3.0 [ 58%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in laya/display/Sprite.ts:266 指定鼠标事件检测是优...

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

304. laya.display.Sprite_API3.0 [ 58%]

...列表节点。 Sprite 默认没有宽高,默认不接受鼠标事件。通过 graphics 可以绘制图片或者矢量图,支持旋转,缩放,位移等操作。Sprite同时也是容器类,可用来添加多个子节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获...

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

305. laya.physics.PhysicsDebugDraw_API3.0 [ 58%]

...sDebugDraw 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Hierarchy Sprite PhysicsDebugDraw Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _...

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

306. laya.ui.Clip [ 58%]

...call。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent  autoPlay : Boolean 表示是否自动播放动画,...

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

307. 深入理解LayaAir引擎架构和实现原理(二)项目调试原理及完美开发调试方案 [ 57%]

...浏览器进行调试。 其实这个过程是可以进一步优化的,通过watch代码的更新来及时重新编译,并刷新浏览器。 3.1 launch和task配置 { "version": "0.2.0", "configurations": [ { "name": "chrome调试", "type": "chrome", "request": "launch", "trace": true, "smartSte...

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

308. laya.ui.HScrollBar_API3.0 [ 57%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 bottomMoveLimit bottomMoveLimit: number = 0 Inherited from ScrollBar.bottomMoveLimit Defined in laya/ui/ScrollBar.ts:64 底部移动限制(达到限制...

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

309. laya.ui.VScrollBar_API3.0 [ 57%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 bottomMoveLimit bottomMoveLimit: number = 0 Inherited from ScrollBar.bottomMoveLimit Defined in laya/ui/ScrollBar.ts:64 底部移动限制(达到限制...

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

310. laya.d3.core.scene.BaseScene [ 57%]

...想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象是否缓存为静态图...

来源: laya_api 发布时间: 20170422