大约有 171 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0101 秒)
... clip 动画的播放时间间隔。 clip.x = 100;//设置 clip 对象的属性 x 的值,用于控制 clip 对象的显示位置。 clip.y = 100;//设置 clip 对象的属性 y 的值,用于控制 clip 对象的显示位置。 clip.on(Event.CLICK, this, onClick);//给 clip 添加点击事件函...
来源: Laya3.0_api 发布时间: 20231115
...。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只...
来源: Laya2.0_api 发布时间: 20190513
...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String舞台的背景颜色,默认为黑色,null为透明。Stage blendMode : String指定要使用的...
来源: Laya2.0_api 发布时间: 20190513
...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Implementation of ISelect.hitTestPrior Inherited from Text.hitTestPrior Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Defined in laya/display/Sprite.ts:273 指定鼠标事件检测是优先检测自身,...
来源: Laya3.0_api 发布时间: 20231115
...on");//加载图集并播放 animation.x = 200;//设置 animation 对象的属性 x 的值,用于控制 animation 对象的显示位置。 animation.y = 200;//设置 animation 对象的属性 x 的值,用于控制 animation 对象的显示位置。 animation.interval = 50;//设置 animation 对...
来源: Laya3.0_api 发布时间: 20231115
...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事...
来源: Laya3.0_api 发布时间: 20231115
...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事...
来源: Laya3.0_api 发布时间: 20231115
...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事...
来源: Laya3.0_api 发布时间: 20231115
... 图片添加点击事件 有的不生效 lh文件内meshSprite添加阴影属性无效 怎么讲layaAir里的显示对象添加到matter.js里的物理引擎世界里 为什么给Sprite容器添加点击事件没反应 用Mac下Unity5.6.2f1导出的模型在Mac浏览器显示正常,发布到移动...
来源: Laya_社区 发布时间: 20170720