• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 914 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0088 秒)

731. laya.ui.LayoutBox_API3.0 [ 59%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOp...

来源: Laya3.0_api 发布时间: 20231115

732. laya.ui.TipManager_API3.0 [ 59%]

...fsetX offsetY tipBackColor tipDelay tipTextColor Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY components customRenderEnable dataSource defaultTipHandler destroyed disabled displayHeight displayWidth displayedInStage drawCa...

来源: Laya3.0_api 发布时间: 20231115

733. 如何获取动画的长度? [ 59%]

...te(this, () => { var bounds = tl.getGraphicBounds(); console.log(bounds.width) }, [tl]));   还是0 2018-01-24 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 hill_0219 相关问题 请问有没有方法能够获取“鼠标是否处...

来源: Laya_社区 发布时间: 20180124

734. 关于项目分包的问题?? [ 59%]

...ay.StageScaleMode; import flash.events.Event; import login.LoginView; [SWF(width=800,height=600,backgroundColor="0xffffff",frameRate=60)] public class Main extends Sprite { public function Main():void { IFlash.setSize(800, 600);//2D项目中设置场景尺寸 IFlash.setOrientationEx(1); //是否为...

来源: Laya_社区 发布时间: 20151225

735. 怎么获取Skeleton下模型的大小 [ 59%]

...一次先才能获取大小   var boundsW: number = skeleon.getBounds().width; var boundsH: number = skeleon.getBounds().height; 2019-06-17 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 137*****768 相关问题 请问有没有方法能...

来源: Laya_社区 发布时间: 20190606

736. 关于List的问题 [ 58%]

...片设置var , 但是我发现在List下设置var是无效的,this.as.width = null; 问题2: 一段文字中设置不同的字体和颜色,我能想到的就是富文本。 但是在List下的富文本好像有点问题,用数组赋予富文本文字无效,或是不显示。 求解 2018-...

来源: Laya_社区 发布时间: 20180929

737. laya.particle.Particle2D_API3.0 [ 58%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize emitter filters globalRotation globalScaleX global...

来源: Laya3.0_api 发布时间: 20231115

738. laya.media.SoundNode_API3.0 [ 58%]

...hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY autoPlay blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globa...

来源: Laya3.0_api 发布时间: 20231115

739. laya.map.GridSprite_API3.0 [ 58%]

...rough name relativeX relativeY tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode cacheAs components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY g...

来源: Laya3.0_api 发布时间: 20231115

740. Texture如何转换成Texture2D有人搞过吗 [ 58%]

...exture  2.用Sprite画出来 3.sp转url; var htmlCanvas = sp.drawToCanvas(width,height,0,0) var canvas = htmlCanvas.getCanvas(); var base64 = canvas.toDataURL("image/png"); var blob = dataURLtoBlob(base64); var url = Browser.window.URL.createObjectURL(blob);dataUrltoBlob函数(网上就能找到...

来源: Laya_社区 发布时间: 20181221