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

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

1811. 模板@prop如何使用枚举 [ 53%]

...的枚举 enum ENUM_Effect{ null=0, popupEffect = 1, closeEffect = 2 };  function ENUM_ChangeString(enumObject) { let reslut=""; for (var entry in ENUM_Effect) { reslut=reslut+","+entry; }  return reslut; } /** @prop {name:targetEffect, tips:"UI特效", type:ENUM_Effect, default:null}*/ private ta...

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

1812. Mesh网格-网格加载 [ 53%]

... import common.Tool; /** * ... * @author */ public class MeshLoad { public function MeshLoad() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Stage.SCALE_FULL; Laya.stage.screenMode = Stage.SCREEN_NONE; Stat.show(); var scene:Scene = Laya.stage.addChild(new Scene()) as Scene; var camera:Camera = ...

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

1813. MovieClip 给SWF播放的对象 [ 53%]

...RM  (0x02) 导致的,请问到底是哪个才对啊? Sprite.as public function set transform(value:Matrix):void { this._tfChanged = false; var m:Matrix = this._transform || (this._transform = _createTransform()); value.copyTo(m); _setTransform(m); //设置transform时重置x,y if (value) { _x =...

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

1814. laya.d3.core.ui3d.UI3DGeometry_API3.0 [ 53%]

...troy setDrawArrayParams setDrawElemenParams Legend Object literal Variable Function Type alias Class Class with type parameter Method Inherited property Inherited method Inherited accessor Enumeration Interface

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

1815. HTMLDivElement 中contextWidth计算有问题 [ 52%]

...Width获取实际宽度是0 /** * @private * @param out */ override public function _addToLayout(out:Vector.<ILayout>):void { layout(); //!_style.absolute && out.push(this); } 这个重写有问题,会导致计算实际宽高信息的时候多次执行layout()导致最后结果是0....

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

1816. laya.d3.core.light.PointLight_API3.0 [ 52%]

...s type: string Optional data: any Returns void callLater callLater(method: Function, args?: any[]): void Inherited from Node.callLater Defined in laya/display/Node.ts:621 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 see #runCallLater() Pa...

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

1817. laya.d3.physics.shape.HeightfieldTerrainShape_API3.0 [ 52%]

...ss with type parameter Constructor Property Method Object literal Variable Function Type alias Inherited property Inherited method Inherited accessor Enumeration Interface

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

1818. Sprite-新手引导 [ 52%]

...0; private var hitArea:HitArea; private var interactionArea:Sprite; public function Sprite_Guide() { Laya.init(1285, 727); Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; //绘制一个蓝色方块,不被抠图 var gameContainer:Sprite = new Sprite(); gameContainer....

来源: Laya2.0_示例 发布时间: 20260106

1819. laya.ani.bone.BoneSlot_API3.0 [ 52%]

...me showSlotData createSkinMesh isSameMatrix Legend Object literal Variable Function Type alias Class Class with type parameter Property Method Enumeration Interface Static method

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

1820. laya.resource.RenderTextureCube_API3.0 [ 52%]

...建 Parameters url: string Returns boolean off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inherited from EventDispatcher.off Defined in laya/events/EventDispatcher.ts:112 从 EventDispatcher 对象中删...

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