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

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

231. [LayaAir3]sprite.drawToTexture( ) 无法绘制容器内容 [ 85%]

[LayaAir3]sprite.drawToTexture( ) 无法绘制容器内容  drawToTexture() 方法不能按预期工作,只能绘制背景,无法绘制出子节点内容,API文档对参数也没有详细注释,各种尝试都无解。DEMO 代码已上传,麻烦帮忙看看,感谢。 附件 : --> bug-d...

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

232. [3.0.6]碰撞体不能以中心调节 [ 85%]

...节   目前想让碰撞体居中,需要用fitresize得到的值(估计是sprite的宽或高的最大值),减去碰撞体半径,再填入对应的偏移中才能让碰撞体居中. 再次调节半径值,需要再次修改偏移值,才能使碰撞居中.   请注意,默认行为不应该如此! 应...

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

233. laya.display.EffectAnimation [ 85%]

...ass EffectAnimationInheritanceEffectAnimation FrameAnimation AnimationBase Sprite Node EventDispatcher Object 动效模板。用于为指定目标对象添加动画效果。每个动效有唯一的目标对象,而同一个对象可以添加多个动效。 当一个动效开始播放时,其他动...

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

234. laya.ui.List_API3.0 [ 85%]

...Children?: boolean): List Inherited from UIComponent.constructor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns List Properties Optional _extra _extra: INodeExtra Inherited from ...

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

235. laya.d3.core.scene.Scene3D_API3.0 [ 85%]

...ore/scene/Scene3D" Scene3D Class Scene3D 用于实现3D场景。 Hierarchy Sprite Scene3D Implements ISubmit Index Constructors constructor Properties _ShadowMapupdateFrequency _extra _ownGraphics _reflectionsIblSamples _reflectionsResolution _reflectionsSource _scene _sceneUniformData _skinBaseUrl ...

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

236. laya.ui.MoreGame [ 85%]

...ts Packagelaya.uiClasspublic class MoreGameInheritanceMoreGame View Scene Sprite Node EventDispatcher Object 游戏中心插件 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarc...

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

237. laya.ani.swf.MovieClip [ 85%]

...Events Packagelaya.ani.swfClasspublic class MovieClipInheritanceMovieClip Sprite Node EventDispatcher Object MovieClip 用于播放经过工具处理后的 swf 动画。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取...

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

238. Text的中划线(删除线) [ 85%]

...nt.color; var lineWidth = options.lineWidth || 2; //中划线 var sp = new Sprite(); element.addChild(sp); //画线 sp.graphics.drawLine(0, element.height / 2, element.width, element.height / 2, lineColor, lineWidth); } 2018-05-31 1 0 分享 微博 QZONE 微信 Monica - 知识达人 赞同来自: ...

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

239. laya.ui.Tree [ 85%]

... Events Packagelaya.uiClasspublic class TreeInheritanceTree Box Component Sprite Node EventDispatcher ObjectImplements IRender Tree 控件使用户可以查看排列为可扩展树的层次结构数据。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyD...

来源: laya_api 发布时间: 20170929

240. laya.ui.View [ 85%]

...thods | Events Packagelaya.uiClasspublic class ViewInheritanceView Scene Sprite Node EventDispatcher ObjectSubclasses Dialog, MoreGame View 是一个视图类,2.0开始,更改继承至Scene类,相对于Scene,增加相对布局功能。 Public Properties Hide Inherited Public Properties Sho...

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