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

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

191. laya的drawToTexture太坑 [ 87%]

...e太坑 我之前做flash as3的,默认认为drawToTexture是要画目标sprite里面的0,0点。 结果怎么画都没有东西显示,看了下源码发现,里面把它自己(该sprite)的x, y给减掉了, 所以我只能每次在drawToTexture的两个offset参数里, 把x, y参数都...

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

192. laya.ui.VBox [ 87%]

...kagelaya.uiClasspublic class VBoxInheritanceVBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object VBox 是一个垂直布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 N...

来源: Laya2.0_api 发布时间: 20190513

193. laya.ui.AdvImage_API3.0 [ 87%]

... = false Inherited from AnimationBase._ownGraphics Defined in laya/display/Sprite.ts:245 _scene _scene: Node Inherited from Node._scene Defined in laya/display/Node.ts:631 _skinBaseUrl _skinBaseUrl: string Inherited from AnimationBase._skinBaseUrl Defined in laya/display/Sprite.ts:269 如果节点...

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

194. laya.ui.HBox [ 87%]

...kagelaya.uiClasspublic class HBoxInheritanceHBox LayoutBox Box UIComponent Sprite Node EventDispatcher Object HBox 是一个水平布局容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 N...

来源: Laya2.0_api 发布时间: 20190513

195. laya.ui.ColorPicker [ 87%]

...ackagelaya.uiClasspublic class ColorPickerInheritanceColorPicker Component Sprite Node EventDispatcher Object ColorPicker 组件将显示包含多个颜色样本的列表,用户可以从中选择颜色。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties Property...

来源: laya_api 发布时间: 20170929

196. 把模型的scale x设置为-1使模型翻转,之后模型的碰撞就检测不到了 [ 87%]

...被折叠 要回复问题请先登录 发起人 閑好手游 相关问题 sprite旋转以后,但是原来碰撞检测rect没有旋转 Layabox 2.0 bate5 运行编译之后 bundle.js 文件里面没有使用命名空间类文件的定义!导致运行时 找不到类的定义!这是为什么? ...

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

197. drawCurves(x:Number, y:Number, points:Array, lineColor:*, lineWidth:Number = 1):void 绘制一系列曲线。 [ 87%]

...叠 要回复问题请先登录 发起人 XiaozeRain 相关问题 new Laya.Sprite();绘制图形以后,怎么删除释放资源? 富文本下划线绘制bug 小游戏开放数据域下使用Laya.List绘制了排行榜,但是触摸没有滚动响应 Graphic.drawTextures,第二个参数 pos:Arra...

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

198. Tween回调方法里如何带参数? [ 87%]

...试没有问题,可以提供个例子我们看下 测试代码: var sp:Sprite=new Sprite(); sp.graphics.drawRect(0,0,100,100,"#FF0000"); Laya.stage.addChild(sp); Tween.to(sp,{x:300,y:300,alpha:0.5},1000,null,Handler.create(this,function():void { sp.destroy(); })); Complete事件你没写错,...

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

199. laya.ui.AdvImage [ 87%]

...kagelaya.uiClasspublic class AdvImageInheritanceAdvImage Image UIComponent Sprite Node EventDispatcher Object 广告插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : B...

来源: Laya2.0_api 发布时间: 20190513

200. laya.display.Stage [ 87%]

...s | Constants Packagelaya.displayClasspublic class StageInheritanceStage Sprite Node EventDispatcher Object Stage 是舞台类,显示列表的根节点,所有显示对象都在舞台上显示。通过 Laya.stage 单例访问。 Stage提供几种适配模式,不同的适配模式会产生不...

来源: Laya2.0_api 发布时间: 20190513