大约有 470 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0082 秒)
...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽...
来源: Laya3.0_api 发布时间: 20231115
...如果节点需要加载相关的皮肤,但放在不同域,这里可以设置 Optional _url _url: string Inherited from Node._url Defined in laya/display/Node.ts:55 autoSize autoSize: boolean = false Inherited from Text.autoSize Defined in laya/display/Sprite.ts:265 指定是否自动计算宽...
来源: Laya3.0_api 发布时间: 20231115
怎么用matter设置使物体无限运动下去? 我想让一个圆球在一个密闭的空间里,让这个球一直保持不变的速度运动,碰到墙就反弹, 可是我已经设置了重力为0,并且球的restitution是1,frictionStatic、frictionAir、friction都是0 但是球运...
来源: Laya_社区 发布时间: 20180827
...erminant():Number 计算3x3矩阵的行列式 Matrix3x3 identity():void 设置已有的矩阵为单位矩阵Matrix3x3 invert(out:Matrix3x3):void 计算3x3矩阵的逆矩阵 Matrix3x3 lookAt(eye:Vector3, target:Vector3, up:Vector3, out:Matrix3x3):void[static] 计算观察3x3矩阵 Matrix3x3...
来源: laya_api 发布时间: 20170929
...erminant():Number 计算3x3矩阵的行列式 Matrix3x3 identity():void 设置已有的矩阵为单位矩阵Matrix3x3 invert(out:Matrix3x3):void 计算3x3矩阵的逆矩阵 Matrix3x3 lookAt(eye:Vector3, target:Vector3, up:Vector3, out:Matrix3x3):void[static] 计算观察3x3矩阵 Matrix3x3...
来源: Laya2.0_api 发布时间: 20190513
...SIZE,this,onResize); }); } protected function HengPing(): void { trace("设置横屏" ); var layaCanvas:Object = Browser.getElementById("layaCanvas"); layaCanvas.width = Browser.width; layaCanvas.height = Browser.height; Laya.stage.size(Browser.width,Browser.height); } protected function ShuPin...
来源: Laya_社区 发布时间: 20190520
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent array : Array 列表数据源。...
来源: Laya2.0_api 发布时间: 20190513
...prite asPassword : Boolean 本API已弃用。使用type="password"替代设置asPassword, asPassword将在下次重大更新时删去。 指定文本字段是否是密码文本字段。 如果此属性的值为 true,则文本字段被视为密码文本字段,并使用星号而不是实际字...
来源: laya_api 发布时间: 20170929
...eying 赞同来自: 请参考:http://ask.layabox.com/question/1726 手动设置的话:可以修改以下两个属性,自己来控制图集的大小! AtlasResourceManager.atlasLinitWidth=256 AtlasResourceManager.atlasLinitHeight=256 2017-04-10 0 0 分享 微博 QZONE 微信 为什么被折叠...
来源: Laya_社区 发布时间: 20170410
...alpha值会影响drawcall。Sprite autoAnimation : String[write-only] 设置自动播放的动画名称,在LayaAir IDE中可以创建的多个动画组成的动画集合,选择其中一个动画名称进行播放。 Animation autoPlay : Boolean[write-only] 是否自动播放,默认为fal...
来源: Laya2.0_api 发布时间: 20190513