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

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

351. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 55%]

...ne/XunLongShi.ls",Laya.Handler.create(this,function(scene) { //加载完成获取到了Scene3d Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); //清除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLigh...

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

352. laya.ui.RadioGroup_API3.0 [ 55%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

353. 多种碰撞器形状(JavaScript-3D基础(JS)-LayaAir3D之物理系统) [ 55%]

...一张桌子 var boxShape = new Laya.BoxColliderShape(0.5, 0.4, 0.045); //获取本地偏移 var localOffset = boxShape.localOffset; //修改偏移 localOffset.setValue(0, 0, 0.125); boxShape.localOffset = localOffset; //往组合碰撞器形状中添加该碰撞器形状 compoundShape.addChildShape...

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

354. laya.display.Sprite_API3.0 [ 55%]

...节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite的宽高一般用于进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请...

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

355. laya.ui.Tab_API3.0 [ 55%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

356. 资源加载(TypeScript-3D基础(TS)-LayaAir3D之资源加载) [ 55%]

...ene/XunLongShi.ls",Laya.Handler.create(null,function(scene){ //加载完成获取到了Scene3d Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); //清除摄像机的标记 camera.clearFlag = Laya.BaseCamera.CLEARFLAG_SKY; //添加光照 var directionLigh...

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

357. laya.media.VideoNode_API3.0 [ 55%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

358. Button和下面的3D物体重叠,点击button,3D物体会同时响应自己的鼠标脚本 [ 55%]

...先登录 发起人 From Nowhere 相关问题 请问有没有方法能够获取“鼠标是否处于按下状态”? Dialog:屏蔽点击Dialog之外的区域关闭弹框 缓动Tween能用在3D物体或者特效上面吗? ui list 里面的元素不能点击两次 btn 鼠标移动上去默认文...

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

359. laya.ui.ColorPicker_API3.0 [ 55%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 changeHandler changeHandler: Handler Defined in laya/ui/ColorPicker.ts:99 当颜色发生改变时...

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

360. laya.physics.PhysicsDebugDraw_API3.0 [ 54%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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