大约有 1,227 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0063 秒)
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...改摄影机视口 ```typescript Laya.timer.once(3000,this,function () { //获取第一个摄影的视口 var viewport1 = camera1.normalizedViewport; //修改参数 viewport1.width = 0.2; //重新赋值是视口 camera1.normalizedViewport = viewport1; var viewport2 = camera2.normalizedViewport; view...
来源: Laya2.0_文档 发布时间: 20210715
...节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite的宽高一般用于进行碰撞检测和排版,并不影响显示图像大小,如果需要更改显示图像大小,请...
来源: laya_api 发布时间: 20170929
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Sprite3D color : Vector3 灯光颜色。 LightSprite componentsCount : int[read-only] 获得组件的数量。...
来源: laya_api 发布时间: 20170929
...因的吗?~~~~~~~~~~~~~ Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 2.1.1.1引擎微信小游戏掉帧严重 unity中的模型导出后在laya中显示不正常 [引擎优化]希望官方可以增加stencil功能 3d场景单材质单模型CurMem300多 matter 物理引擎 问题...
来源: Laya_社区 发布时间: 20220118
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite botto...
来源: laya_api 发布时间: 20170929
...影机视口 ```typescript Laya.timer.once(3000,this,function ():void { //获取第一个摄影的视口 var viewport1:Laya.Viewport = camera1.normalizedViewport; //修改参数 viewport1.width = 0.2; //重新赋值是视口 camera1.normalizedViewport = viewport1; var viewport2:Laya.Viewport = camer...
来源: Laya2.0_文档 发布时间: 20210715
... Laya.stage.on(Laya.Event.MOUSE_UP, this, function() { this.index = 0; //获取每次生成路径 this.getGridIndex(this.path[this.curPathIndex % this.pointCount].x, this.path[this.curPathIndex++ % this.pointCount].z, this.startPoint); this.getGridIndex(this.path[this.nextPathIndex % this.pointCount...
来源: Laya2.0_文档 发布时间: 20210714
...ies Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read-only] 获取在场景中是否激活。 Node alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite...
来源: Laya2.0_api 发布时间: 20190513
...!即便节点资源生效,也不会重新download,本地缓存始终获取到旧的资源!这个问题怎么处理! 2018-06-23 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 xiaoman122 相关问题 发起问题须知,必看...
来源: Laya_社区 发布时间: 20180209