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

大约有 3,979 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0078 秒)

651. Image [ 86%]

Image var img___=new Image(); html的 image标签 怎么才能转换成 laya.texture     var img___=new Image();         img___.src="res/card/select_main_card_bg.png"         img___.onload = function(){             var image = new Laya.Image()             image.source = img___...

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

652. laya.display.cmd.ClipRectCmd [ 86%]

...: String = ClipRect[static] ClipRectCmdProperty Detailheightpropertypublic var height:Number 高度。 widthproperty public var width:Number 宽度。 xproperty public var x:Number X 轴偏移量。 yproperty public var y:Number Y 轴偏移量。 Method Detailrecover()method public function recov...

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

653. laya.d3.core.pixelLine.PixelLineData [ 86%]

...ineData):void 克隆。 PixelLineDataProperty DetailendColorpropertypublic var endColor:ColorendPositionproperty public var endPosition:Vector3startColorproperty public var startColor:ColorstartPositionproperty public var startPosition:Vector3Method DetailcloneTo()method public function cloneTo(d...

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

654. laya.display.cmd.ScaleCmd [ 86%]

... ID : String = Scale[static] ScaleCmdProperty DetailpivotXpropertypublic var pivotX:Number (可选)水平方向轴心点坐标。 pivotYproperty public var pivotY:Number (可选)垂直方向轴心点坐标。 scaleXproperty public var scaleX:Number 水平方向缩放值。 scaleYproperty...

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

655. laya.d3.terrain.unit.DetailTextureInfo [ 86%]

...lTextureInfo()DetailTextureInfoProperty DetaildiffuseTexturepropertypublic var diffuseTexture:StringnormalTextureproperty public var normalTexture:Stringoffsetproperty public var offset:Vector2scaleproperty public var scale:Vector2Constructor DetailDetailTextureInfo()Constructorpublic function De...

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

656. Tree属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 86%]

... (图) ####5. 调整 Tree 的宽高。 ​ 设置 Tree 对象的属性 var(全局引用名)的值为 m_tree ,此处名字可以自定义,目的是在脚本中对此 Tree 组件对象赋值。 ​ ![图片0.png](img/12.png) ​ (图) ####6. 在代码里给 Tree 对象赋值 ```javascr...

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

657. swf转成H5资源显示超出原有范围 [ 86%]

...e function setWindowFullSize() : void         {             var stageW:int = 0;             var stageH:int = 0;             __JS__( 'stageW = Laya.window.innerWidth;' );             __JS__( 'stageH = Laya.window.innerHeight;' );             (stageW ...

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

658. js环境下使用Loader加载图片在Sprite对象的.on函数无效 [ 86%]

...效 js环境下使用Loader加载图片在Sprite对象的.on函数无效 var tempnote = new Laya.Sprite(); 使用 tempnote.texture=Loader.getRes(tempjson.pic)后 tempnote.on函数不触发 使用tempnote.loadImage(tempjson.pic); 触发正常,如果我想使用Loader.getRes 来载入缓存的图片...

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

659. 射线一直无法获取物体 [ 86%]

射线一直无法获取物体     添加物体:  var qb_pet = scene.addChild(Laya.Sprite3D.load("./test.lh"));     qb_pet.once(Laya.Event.HIERARCHY_LOADED, this, function(){         qb_pet.addComponent(Laya.SphereCollider);     });   设置射线:    Laya.timer.frameLoop(1, null,...

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

660. laya.physics.RigidBody [ 86%]

...e():void[override] RigidBodyProperty Detail_allowRotationpropertyprotected var _allowRotation:Boolean = true是否允许旋转,如果不希望刚体旋转,这设置为false_allowSleepproperty protected var _allowSleep:Boolean = true是否允许休眠,允许休眠能提高性能_angularDamping...

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