大约有 321 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0040 秒)
...isplay/BitmapFont.ts:20 当前位图字体字号,使用时,如果字号和设置不同,并且autoScaleSize=true,则按照设置字号比率进行缩放显示。 letterSpacing letterSpacing: number = 0 Defined in laya/display/BitmapFont.ts:26 lineHeight lineHeight: number = 12 Defined in laya...
来源: Laya3.0_api 发布时间: 20231115
...Canvas HTMLCanvas 是 Html Canvas 的代理类,封装了 Canvas 的属性和方法。 Hierarchy Resource HTMLCanvas Index Constructors constructor Properties _id destroyedImmediately lock name url uuid DEBUG Accessors context cpuMemory destroyed gpuMemory height id obsolute referenceCount source w...
来源: Laya3.0_api 发布时间: 20231115
... url: string | (string | createItem)[] 资源地址或者数组。如果url和clas同时指定了资源类型,优先使用url指定的资源类型。参数形如:[{url:xx,clas:xx,priority:xx,params:xx},{url:xx,clas:xx,priority:xx,params:xx}]。 Default value complete: Handler | null = null 加...
来源: Laya3.0_api 发布时间: 20231102
... 在服务端运行指令layadcc ./ 后进不去,提示 assetId is old 和 init dcc fail。然后过五六个小时后才不会报这个错。。才能进去 做好的粒子特效在U3D里循环正常。在LAYA插件里预览跳帧闪烁。序列素材本身也是循环的。但是不知道为什...
来源: Laya_社区 发布时间: 20171123
...版本:1.7.16) IDE1.7.8 json图集加载问题 求指点3d射线碰撞和UI点击穿透的问题 关于适配采用showAll后留白部分的颜色问题 关于apk打包动画卡的问题 横屏模式在锁定竖屏的iphone上不能正常显示的问题 关于shader中opengl函数问题 laya2.1....
来源: Laya_社区 发布时间: 20180127
...取的时间间隔(毫秒)。 NOTE 如,rotationRate的alpha在apple和moz文档中都是z轴旋转角度,但是实测是x轴旋转角度。为了使各属性表示的值与文档所述相同,实际值与其他属性进行了对调。 其中: alpha使用gamma值。 beta使用alpha值。 g...
来源: laya_api 发布时间: 20170929
...[] 当前骨骼的关键帧数据 nodeid: number 骨骼id,因为要使用和更新 _boneCurKeyFrm tm: number Returns number 问题 最后一帧有问题,例如倒数第二帧时间是0.033ms,则后两帧非常靠近,当实际给最后一帧的时候,根据帧数计算出的时间实际上落...
来源: Laya3.0_api 发布时间: 20231115
...取的时间间隔(毫秒)。 NOTE 如,rotationRate的alpha在apple和moz文档中都是z轴旋转角度,但是实测是x轴旋转角度。为了使各属性表示的值与文档所述相同,实际值与其他属性进行了对调。 其中: alpha使用gamma值。 beta使用alpha值。 g...
来源: Laya2.0_api 发布时间: 20190513
xhr的on和once什么区别,官网例子 Laya.init(1136, 640); var xhr:HttpRequest = new HttpRequest(); xhr.http.timeout = 10000;//设置超时时间; xhr.once(Event.COMPLETE,this,completeHandler); xhr.once(Event.ERROR,this,errorHandler); xhr.on(Event.PROGRESS,this,processHandler); 2017-10-17 ...
来源: Laya_社区 发布时间: 20171017
... number): Texture Defined in laya/resource/Texture.ts:70 根据指定资源和坐标、宽高、偏移量等创建 Texture 对象。 Parameters source: Texture | BaseTexture 绘图资源 Texture2D 或者 Texture对象。 x: number 起始绝对坐标 x 。 y: number 起始绝对坐标 y 。 width: nu...
来源: Laya3.0_api 发布时间: 20231115