大约有 233 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0061 秒)
...r alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false ...
来源: laya_api 发布时间: 20170929
...*****372 • 2018-07-20 17:35 刚刚发现注释说明问题表达不清,更改了下demo,如果刚刚有下载,有劳重新下载
来源: Laya_社区 发布时间: 20180720
...个添加了Collider的节点添加onTriggerEnter的脚本监听, 当我不更改 红色小人的 transform.rotationEuler 值时,图中黑色小牛要靠近红色小人才会触发onTriggerEnter的回调,一切运行正常. 但是当我在update里 更改红色小人的 transform.rotationEuler ...
来源: Laya_社区 发布时间: 20200720
...率越高,渲染压力越大,越费电,合理使用帧率甚至动态更改帧率有利于改进手机耗电。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alignH : String 水平对齐方式。默认值为"left"。 取值范围: ...
来源: laya_api 发布时间: 20170929
...率越高,渲染压力越大,越费电,合理使用帧率甚至动态更改帧率有利于改进手机耗电。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolea...
来源: Laya2.0_api 发布时间: 20190513
...源码 本节直接贴出来示例源码,开发者在本地可以体验更改Laya.stage.screenMode属性值带来的区别。 > 对于新手开发者,直接复制源码即可,无需关注与screenMode无关的代码。重点在于体验与理解screenMode属性不同值的差异。源码中涉...
来源: Laya2.0_文档 发布时间: 20210715
...r alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pi...
来源: Laya2.0_api 发布时间: 20190513
...片 Laya.timer.loop(50,this,onLoop); } private function onLoop():void { //更改texture的纹理,逐一显示不同的image chageTexture(); //如果texture有值,进行绘制并排序 if(texture) { sp.graphics.drawTexture(texture,(num-1)*70,Math.floor((num-1)/10)*70+10); } } private function cha...
来源: Laya_社区 发布时间: 20161107
...r alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pi...
来源: Laya2.0_api 发布时间: 20190513
...e alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通...
来源: Laya2.0_api 发布时间: 20190513