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

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

121. laya.physics.ChainCollider [ 85%]

...ited Protected Methods Show Inherited Protected Methods MethodDefined By _onDestroy():void[override] ColliderBase _onEnable():void[override] ColliderBase  getDef():*[override] ChainColliderProperty Detaillooppropertyloop:Boolean是否是闭环,注意不要有自相交的链接形状,它可...

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

122. laya.d3.resource.TextureGenerator [ 85%]

...Public Methods  MethodDefined By  TextureGenerator()TextureGenerator  _generateTexture2D(texture:Texture2D, textureWidth:int, textureHeight:int, func:Function):void[static] TextureGenerator  haloTexture(x:int, y:int, maxX:int, maxY:int, index:int, data:Uint8Array):void[static] TextureGenerato...

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

123. laya.ui.OpenDataContextView_API3.0 [ 85%]

... UIComponent OpenDataContextView Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY...

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

124. laya中的截屏在WebGL下为什么无效呢? [ 84%]

...简单,且行之有效。 以下是 egret中截屏的关键代码 this._bmpSnap = new egret.Bitmap; this._bmpSnap.x = L.GAP_UNIFIED; this._bmpSnap.y = this._contMotion.y + L.H_CLIP + L.GAP_UNIFIED; this.addChild( this._bmpSnap ); /// 快照特效 this._shapeSnapEffect = new egret.Shape; this._shap...

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

125. laya.physics.RigidBody_API3.0 [ 84%]

...); Hierarchy Component RigidBody Index Constructors constructor Properties _extra _singleton category group label mask owner runInEditor scriptPath Accessors allowRotation allowSleep angularDamping angularVelocity awaked body bullet destroyed enabled gravityScale hideFlags id linearDamping linearVel...

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

126. 物理引擎-Slingshot [ 84%]

...ion() { Laya.init(stageWidth, stageHeight); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; setup(); })(); function setup() { initMatter(); initWorld(); Laya.stage.on("resize", this, onResize); } function initMatter() { var gameWorld ...

来源: Laya_示例 发布时间: 20240930

127. 材质-物理基础渲染材质 [ 84%]

...高效。Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var Vector3 = Laya.Vector3; var scene = Laya.stage.addChild(new Laya.Scene()); //var env:String = 'inthegarden'; var env = 'sp_default'; //var env = 'AtticRoom'; //var env ...

来源: Laya_示例 发布时间: 20240930

128. laya.ui.CheckBox_API3.0 [ 84%]

...{ import laya.ui.CheckBox; import laya.utils.Handler; public class CheckBox_Example { public function CheckBox_Example() { Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 Laya.loader.load("resource/ui/check.png", Handler.create(this,o...

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

129. laya.ui.Panel_API3.0 [ 84%]

...容器类。 Hierarchy Box Panel Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode bottom cacheAs centerX...

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

130. 【解决】富文本html下划线换行bug [ 84%]

...示装备道具等需求。   修改2.0版本 laya.html.js库里的代码__proto.renderSelfToGraphic=function(graphic,gX,gY,recList){ var cssStyle=this.style; var words=this._getWords(); var i=0,len=0; if (words){ len=words.length; var a; if (cssStyle){ var font=cssStyle.font; var color=cssStyle.co...

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