大约有 188 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0039 秒)
Laya_社区(121) Laya3.0_api(21) Laya2.0_api(12) laya_api(11) Laya3.0_文档(11) Laya2.0_文档(11) Laya_示例(1)
...asData) { event(Event.ERROR,"file not find"); return; } //保护修改-----end------------------ this.basePath =_atlasPath?Loader.getAtlas(_atlasPath).dir:_url.split(".swf")[0] + "/image/"; _initData(data);添加了这个保护后,代码不会报错,但是你的帧循环使用创建MC不会显...
来源: Laya_社区 发布时间: 20180907
...asData) { event(Event.ERROR,"file not find"); return; } //保护修改-----end------------------ this.basePath =_atlasPath?Loader.getAtlas(_atlasPath).dir:_url.split(".swf")[0] + "/image/"; _initData(data);添加了这个保护后,代码不会报错,但是你的帧循环使用创建MC不会显...
来源: Laya_社区 发布时间: 20180908
...y } = Laya; /** * 使用视频纹理 */ @regClass() export class Script extends Laya.Script { declare owner: Laya.Sprite3D; @property(Laya.Scene3D) private scene: Laya.Scene3D; private videoPlane: Laya.Sprite3D; private videoTexture = new Laya.VideoTexture(); onAwake(): void { //获取场景中要...
来源: Laya3.0_文档 发布时间: 20250214
...Bounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite buffered : *[read-only] buffered 属性返回 TimeRanges(JS)对象。TimeRanges 对象表示用户的音视频缓冲范围。缓冲范围...
来源: Laya2.0_api 发布时间: 20190513
...过代码使用2D网格渲染器 一、简介 2D网格渲染器(Mesh2DRender)用于在2D场景中显示和渲染2D网格,支持纹理渲染,可以设置渲染颜色,还可以添加自定义的材质,接收2D光照效果。开发者可以用来创建复杂的2D图形效果,支持自定...
来源: Laya3.0_文档 发布时间: 20250214
...asData) { event(Event.ERROR,"file not find"); return; } //保护修改-----end------------------ this.basePath =_atlasPath?Loader.getAtlas(_atlasPath).dir:_url.split(".swf")[0] + "/image/"; _initData(data);添加了这个保护后,代码不会报错,但是你的帧循环使用创建MC不会显...
来源: Laya_社区 发布时间: 20180908
... 69[static] 与 E 键的键控代码值 (69) 关联的常数。Keyboard END : int = 35[static] 与 End 的键控代码值 (35) 关联的常数。Keyboard ENTER : int = 13[static] 与 Enter 的键控代码值 (13) 关联的常数。Keyboard EQUAL : int = 187[static] 与 = 键的键控代码...
来源: laya_api 发布时间: 20170929
... 69[static] 与 E 键的键控代码值 (69) 关联的常数。Keyboard END : int = 35[static] 与 End 的键控代码值 (35) 关联的常数。Keyboard ENTER : int = 13[static] 与 Enter 的键控代码值 (13) 关联的常数。Keyboard EQUAL : int = 187[static] 与 = 键的键控代码...
来源: Laya2.0_api 发布时间: 20190513
...asData) { event(Event.ERROR,"file not find"); return; } //保护修改-----end------------------ this.basePath =_atlasPath?Loader.getAtlas(_atlasPath).dir:_url.split(".swf")[0] + "/image/"; _initData(data);添加了这个保护后,代码不会报错,但是你的帧循环使用创建MC不会显...
来源: Laya_社区 发布时间: 20180908
...gScene, "MousePickingScene", Laya.Scene); MousePickingScene.prototype.lateRender = function (state) { MousePickingScene.__super.prototype.lateRender.call(state); //从屏幕空间生成射线 this.point.elements[0] = Laya.stage.mouseX; this.point.elements[1] = Laya.stage.mouseY; this.camera.viewport...
来源: Laya_社区 发布时间: 20170323