大约有 793 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0060 秒)
Laya_社区(496) Laya3.0_api(119) Laya2.0_api(72) Laya2.0_文档(29) laya_api(24) Laya3.0_文档(24) Laya_示例(21) Laya2.0_示例(8)
...x Sprite type : String 输入框类型为Input静态常量之一。 TYPE_TEXT TYPE_PASSWORD TYPE_EMAIL TYPE_URL TYPE_NUMBER TYPE_RANGE TYPE_DATE TYPE_MONTH TYPE_WEEK TYPE_TIME TYPE_DATE_TIME TYPE_DATE_TIME_LOCAL 平台兼容性参见http://www.w3school.com.cn/html5/html_5_form_input_types.asp。 ...
来源: Laya2.0_api 发布时间: 20190513
...tected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent _anchorY : Number = NaNY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心...
来源: Laya2.0_api 发布时间: 20190513
...布是1024 X 650 Laya.init(1024, 650 , WebGL); 我改变 宽度后 Render._mainCanvas.source.style.width = "100%" 自适应外部的DIV 但我画笔的定位 this.stage.mouseX 取不到正确位。这怎么处理? 如图,白色画布是1024 x 650 外层div 是 500 x 500 按照鼠标点下去...
来源: Laya_社区 发布时间: 20171115
...es文件夹下可播放 错误提示:Failed to load resource: net::ERR_FILE_NOT_FOUND [file:///F:/GitHub/TS_Laya/TS_MyLaya/bin/sounds/hit.wav] 测试代码: import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Event = Laya.Event; import SoundManager = ...
来源: Laya_社区 发布时间: 20190421
关于graphics._saveToCmd的问题 this.sp.graphics._saveToCmd(this.test1,arr); 执行上面代码的代码后,会一直执行this.test1函数,如何让它只执行一次呢? 2017-03-16 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相...
来源: Laya_社区 发布时间: 20170316
...染,再获取素材切片? /** *@private *改变对象的状态。 */ __proto.changeState=function(){ this._stateChanged=false; this.runCallLater(this.changeClips); var index=this._state < this._stateNum ? this._state :this._stateNum-1; this._sources && (this._bitmap.source=this._sour...
来源: Laya_社区 发布时间: 20170516
...tected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent _anchorY : Number = NaNY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心...
来源: Laya2.0_api 发布时间: 20190513
...s.bitmap.activeResource is not a function //开放域层级 private static _openZone:Laya.Sprite; //开放域纹理 private static _openZoneTexture:Laya.Texture; public static openZone(vx:number=0,vy:number=0,scaleX:number=1,scaleY:number=1) { if(!this._openZone) { //开放域 this._openZone = new L...
来源: Laya_社区 发布时间: 20200618
...tected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent _anchorY : Number = NaNY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心...
来源: Laya2.0_api 发布时间: 20190513
...档都是IDE篇的。 class CollisionBoll extends Laya.Sprite { private _boll1:Laya.Sprite; constructor() { super(); //物理模块 this._boll1 = new Laya.Sprite(); this.addChild(this._boll1); this._boll1.x = 20; this._boll1.loadImage('comp/btn_close.png'); let box:laya.physics.BoxCollider = this...
来源: Laya_社区 发布时间: 20190428