大约有 1,500 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0072 秒)
Laya_社区(812) Laya3.0_api(343) Laya2.0_api(142) laya_api(114) Laya2.0_文档(52) Laya3.0_文档(28) Laya2.0_示例(5) Laya_示例(4)
...ls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } } ``` 编译运行代码,发现网页已经可以播放视频了。开发者可能注意到这里我们初始化引擎的时候是这样的: `Laya.init(0,0);//初始化引擎`;设置尺寸为0,因为...
来源: Laya2.0_文档 发布时间: 20210715
...puMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getAniDuration getAnimation getAnimationCount getAnimationDataWithCache getNodeCount getNodeIndexWithName getNodeKeyFrame getNodes getNodesCurrentFrameIndex getOriginalDa...
来源: Laya3.0_api 发布时间: 20231115
...ls.on(Hls.Events.MANIFEST_PARSED,function():void{ video.play(); }); } plyr.setup(video); } } new LayaUISample; 编译运行代码,发现网页已经可以播放视频了。开发者可能注意到这里我们初始化引擎的时候是这样的: Laya.init(0,0);//初始化引擎;设置尺寸为0...
来源: Laya3.0_文档 发布时间: 20251010
...ner => { //在启动回调中设置了x的终值为200 tweener.endValue.set("x", 200); }); 更新回调:在每次更新缓动时,onUpdata()会被调用。下面这段代码,开启了一个纯计算的缓动,具体效果将由开发者在onUpdate中实现。 //创建纯计算的缓动 Laya...
来源: Laya3.0_文档 发布时间: 20251010
...域,自定义区域只支持圆形、矩形、多边形 鼠标穿透 MouseThrough 默认值为false,如果设置为true,则点击空白区域(不设置Texture、Image等)可以穿透过去,只针对自身有效 优先本对象 Hit Test Piror 当值为true时,并且不穿透(Mouse Thr...
来源: Laya3.0_文档 发布时间: 20251010
...ffer getValueData getVector getVector2 getVector3 hasDefine removeDefine reset setBool setBuffer setColor setInt setMatrix4x4 setNumber setShaderData setTexture setUniformBuffer setValueData setVector setVector2 setVector3 Properties _dataType _dataType: MemoryDataType Implementation of INativeUploa...
来源: Laya3.0_api 发布时间: 20231115
...form3D; public AroundPos: Vector3 = new Vector3(); /// <summary> /// Settings of mouse button, pointer and scrollwheel. /// </summary> public mouseSettings: MouseSettings = new MouseSettings(0, 1, 0.3); /// <summary> /// Range limit of angle. /// </summary> public angleRange:...
来源: Laya_社区 发布时间: 20170714
...r, y:Number, width:Number = 0, height:Number = 0, type:String = repeat, offset:Point = null):void 用texture填充。 Graphics getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics loadImage(url:St...
来源: laya_api 发布时间: 20170929
...form3D; public AroundPos: Vector3 = new Vector3(); /// <summary> /// Settings of mouse button, pointer and scrollwheel. /// </summary> public mouseSettings: MouseSettings = new MouseSettings(0, 1, 0.3); /// <summary> /// Range limit of angle. /// </summary> public angleRange:...
来源: Laya_社区 发布时间: 20190224
...n: Sharing violation on path C:\xxxxxxxxxx\LayaScene_levels\Conventional\Assets\Game\mat\mat-red.lmat System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOpti...
来源: Laya_社区 发布时间: 20200109