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

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

201. laya.ui.Tree [ 85%]

...alpha会影响drawcall。Sprite anchorX : NumberX锚点,为0-1,设置anchorX最终通过pivotX来改变节点轴心点。UIComponent anchorY : NumberY锚点,为0-1,设置anchorY最终通过pivotY来改变节点轴心点。UIComponent  array : Array 列表数据源,...

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

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

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 _sundir _sundir: Vector3 = new Vector3() Defined in laya/d3/core/scene/Scene3D.ts:381 interanl Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false I...

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

203. laya.physics.Physics [ 85%]

...x2d驱动 Public Properties PropertyDefined By  allowSleeping : Boolean 设置是否允许休眠,休眠可以提高稳定性和性能,但通常会牺牲准确性 Physics  box2d : *Box2d引擎的全局引用,更多属性和api请参考 http://box2d.org Physics  gravity : Object 物理世...

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

204. laya.ui.AdvImage_API3.0 [ 85%]

...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:57 autoSize autoSize: boolean = false Inherited from AnimationBase.autoSize Defined in laya/display/Sprite.ts:258 指定是否自动...

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

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

..._Example { public function List_Example() { Laya.init(640, 800, "false");//设置游戏画布宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load(["resource/ui/vscroll.png", "resource/ui/vscroll$bar.png", "resource/ui/vscroll$down.png", "resource/...

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

206. 时间轴动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 84%]

...,动画的初始xy坐标必须为(0,0),最准确的方式就是手动设置一下就好了。如果开发者把参照的十字线中心点(0,0)作为动画图形的中心点,那就会出现问题,在UI舞台显示的时候超出坐标的地方,默认是无法通过调整宽高来设置点...

来源: Laya2.0_文档 发布时间: 20210715

207. 时间轴动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 84%]

...,动画的初始xy坐标必须为(0,0),最准确的方式就是手动设置一下就好了。如果开发者把参照的十字线中心点(0,0)作为动画图形的中心点,那就会出现问题,在UI舞台显示的时候超出坐标的地方,默认是无法通过调整宽高来设置点...

来源: Laya2.0_文档 发布时间: 20210715

208. laya.display.Graphics [ 84%]

...s  MethodDefined By  Graphics()Graphics  alpha(alpha:Number):AlphaCmd 设置透明度。 Graphics  clear(recoverCmds:Boolean = true):void 清空绘制命令。 Graphics  clipRect(x:Number, y:Number, width:Number, height:Number):ClipRectCmd 设置剪裁区域,超出剪裁区域的坐标不...

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

209. laya.ui.TextInput [ 84%]

...alpha会影响drawcall。Sprite anchorX : NumberX锚点,为0-1,设置anchorX最终通过pivotX来改变节点轴心点。UIComponent anchorY : NumberY锚点,为0-1,设置anchorY最终通过pivotY来改变节点轴心点。UIComponent autoSize : Boolean = false 指定...

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

210. laya.ui.ComboBox [ 84%]

...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...

来源: laya_api 发布时间: 20170929