大约有 3,520 项符合查询结果, 库内数据总量为 30,789 项。 (搜索耗时: 0.0076 秒)
Laya_社区(2614) Laya3.0_api(265) Laya2.0_文档(227) Laya2.0_api(113) laya_api(98) Laya_示例(83) Laya3.0_文档(75) Laya2.0_示例(45)
...ist.mouseHandler = new Handler(this, onSelect) list.selectEnable = true; list.selectHandler = new Handler(this, onSelect); list.renderHandler = new Handler(this, updateItem); return list; } function updateItem(cell, index) { console.log(index); // ...
来源: Laya_社区 发布时间: 20180724
...this.htmlvideo.video; videoTexture.video.play(); videoTexture.video.loop = true; var texture2D = new Laya.Texture2D(videoTexture.video.videoWidth,videoTexture.video.videoHeight); var texture:Laya.Texture = new Laya.Texture(texture2D); var image:Laya.Image = new Laya.Image(); image.texture = texture;...
来源: Laya_社区 发布时间: 20240305
...的矩阵对象 _tempResultMatrix,只有实时计算的时候才设置为true Default value alpha: number = 1 Returns void drawBonePoint drawBonePoint(graphics: Graphics): void Defined in laya/ani/bone/BoneSlot.ts:442 画骨骼的起始点,方便调试 Parameters graphics: Graphics Returns void ...
来源: Laya3.0_api 发布时间: 20231115
...mission.ACCESS_COARSE_LOCATION" /> <application android:allowBackup="true" android:icon="@mipmap/ic_launcher" android:label="@string/app_name"> <activity android:name="demo.MainActivity" android:screenOrientation="landscape" android:windowSoftInputMode="stateHidden|adjustPan" android:con...
来源: Laya_社区 发布时间: 20170722
...ns boolean 此事件类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/events/EventDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注...
来源: Laya3.0_api 发布时间: 20231115
...: 以下是我的全部测试代码: (function(){ Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transfo...
来源: Laya_社区 发布时间: 20180103
...esource.lock Defined in laya/resource/Resource.ts:103 是否加锁,如果true为不能使用自动释放机制。 Optional name name: string Inherited from Resource.name Defined in laya/resource/Resource.ts:105 名称。 url url: string Inherited from Resource.url Defined in laya/resource/Resource...
来源: Laya3.0_api 发布时间: 20231115
...f(); mArmature.removeChildren(); mArmature.destroy(true); Laya.Pool.recover('Skeleton', mArmature); } function play() { mCurrIndex++; if (mCurrIndex >= mArmature.getAnimNum()) { mCurrIndex = 0; } mArmature.play(mCurrIndex, false); } })(); 报错信...
来源: Laya_社区 发布时间: 20181120
...: class LayaAir3D { constructor() { //初始化引擎 Laya3D.init(0, 0,true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); //添加3D场景 var scene = Laya.Scene.load("LayaScene_unity1/unity1.ls"); Laya.stage.addChild(scene); //...
来源: Laya_社区 发布时间: 20171017
...ns boolean 此事件类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in laya/events/EventDispatcher.ts:21 检查 EventDispatcher 对象是否为特定事件类型注...
来源: Laya3.0_api 发布时间: 20231115