大约有 358 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0064 秒)
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: laya_api 发布时间: 20170929
...verride] ParticleMaterial _setNumber(shaderIndex:int, number:Number):void 设置浮点。 BaseMaterial _setRenderStateBlendDepth():void 设置渲染相关状态。 BaseMaterial _setRenderStateFrontFace(isTarget:Boolean, transform:Transform3D):void 设置渲染相关状态。 BaseMaterial _upload...
来源: laya_api 发布时间: 20170603
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: Laya2.0_api 发布时间: 20190513
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...
来源: Laya2.0_api 发布时间: 20190513
微信小游戏开放域缩放问题 现在我的游戏里开放域的设置如下 _sp = new Sprite(); var sharedCanvas:* = Browser.window.sharedCanvas; sharedCanvas.width = Laya.stage.width; sharedCanvas.height = Laya.stage.height; _sp.graphics.drawTexture(rankTexture,0,0,rankTexture.width,rankT...
来源: Laya_社区 发布时间: 20180511
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...
来源: Laya2.0_api 发布时间: 20190513
...组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //设置定时器执行,定时重复执行(基于帧率) Laya.timer.frameLoop(1, this, this.animate); } private animate(): void { // 旋转立方体(四元数) this.cube.transform.rotate(this.rot, false, false); } } 旋转...
来源: Laya3.0_文档 发布时间: 20240910
...lpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指...
来源: Laya2.0_api 发布时间: 20190513
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模...
来源: laya_api 发布时间: 20170929
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: Laya2.0_api 发布时间: 20190513