大约有 279 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0052 秒)
...t:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实例。 Sprite3D isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String):Sprite3D[static] 加...
来源: laya_api 发布时间: 20170929
...颜色,可以看到改变后的颜色叠加到纹理上了 (图2-4) Rotation:旋转,从0到360度,旋转可以帮助我们调整天空盒的位置 天空盒随着视角的旋转改变,我们可以观察到四面八方都有远景效果。目前提供的这两种网格中,盒型天空...
来源: Laya3.0_文档 发布时间: 20251010
...t:Node = null, worldPositionStays:Boolean = true, position:Vector3 = null, rotation:Quaternion = null):Sprite3D[static] 创建精灵的克隆实例。 Sprite3D isMouseEvent(type:String):Boolean 检测指定事件类型是否是鼠标事件。 EventDispatcher load(url:String, complete:Handler):void...
来源: Laya2.0_api 发布时间: 20190513
...e playEvent : String[write-only] 设置触发播放的事件 SoundNode rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : NumberX轴缩放值,默认值为1。设置为负数,可以实现水平反转效果,比如scaleX=-1。Sprite scaleY : NumberY轴缩...
来源: laya_api 发布时间: 20170422
...0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : NumberX轴缩放值,默认值为1。设置为负数,可以实现水平反转效果,比如scaleX=-1。Sprite scaleY : NumberY轴缩...
来源: laya_api 发布时间: 20170422
...行 onUpdate(): void { //让持续盒子旋转 (this.owner as Laya.Sprite).rotation++; } //开始碰撞时执行 onTriggerEnter(other: any): void { var owner: Laya.Sprite = this.owner as Laya.Sprite; if (other.label === "buttle") { //碰撞到子弹后,增加积分,播放声音特效 if (this._l...
来源: Laya3.0_文档 发布时间: 20251010
... wrapMode2.3 过滤模式 filterMode2.4 纹理翻转 flip2.5 纹理旋转 rotate2.6 非2次幂缩放 npot2.7 可读写 readWrite2.8 纹理格式 format3、精灵纹理的专有属性3.1 九宫格 sizeGrid3.2 按钮皮肤状态 stateNum4、其它纹理属性4.1 纹理形状 textureShape4.2 sRGB颜色...
来源: Laya3.0_文档 发布时间: 20251128
...0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : NumberX轴缩放值,默认值为1。设置为负数,可以实现水平反转效果,比如scaleX=-1。Sprite scaleY : NumberY轴缩...
来源: laya_api 发布时间: 20170929
...lters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalRotation : Number[read-only] 获得相对于stage的全局旋转值(会叠加父亲节点的旋转值)。 Sprite globalScaleX : Number[read-only] 获得相对于stage的全局X轴缩放值(会叠加父亲节点的缩...
来源: Laya2.0_api 发布时间: 20190513
...0。轴心点会影响对象位置,缩放中心,旋转中心。Sprite rotation : Number旋转角度,默认值为0。以角度为单位。Sprite scaleX : NumberX轴缩放值,默认值为1。设置为负数,可以实现水平反转效果,比如scaleX=-1。Sprite scaleY : NumberY轴缩...
来源: laya_api 发布时间: 20170422