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

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

2641. laya.components.Widget_API3.0 [ 34%]

...th Defined in laya/components/Component.ts:35 Static EMPTY EMPTY: Widget = null Defined in laya/components/Widget.ts:11 一个已初始化的 Widget 实例。 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Component.ts:86 Returns boolean bottom get ...

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

2642. 材质-BlinnPhong-法线贴图 [ 34%]

...normalTexture = Texture2D.load(normalMapUrl[i]); } Laya.timer.frameLoop(1, null, function():void { monster1.transform.rotate(rotation); monster2.transform.rotate(rotation); }); } } }

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

2643. laya.ui.Widget_API3.0 [ 34%]

...th Defined in laya/components/Component.ts:35 Static EMPTY EMPTY: Widget = null Defined in laya/ui/Widget.ts:12 一个已初始化的 Widget 实例。 Accessors awaked get awaked(): boolean Inherited from Component.awaked Defined in laya/components/Component.ts:86 Returns boolean bottom get bottom()...

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

2644. 设置滤镜(ActionScript-LayaAir基础篇(AS3)-位图) [ 34%]

...r.load(ApePath, Handler.create(this, setup)); } private function setup(e:*=null):void { normalizeApe(); makeRedApe(); grayingApe(); } private function normalizeApe():void { var originalApe:Sprite = createApe(); apeTexture = Laya.loader.getRes(ApePath); originalApe.x = (Laya.stage.width - apeTexture....

来源: Laya2.0_文档 发布时间: 20210715

2645. 二进制图片(TypeScript-2D进阶篇(TS)-游戏加载策略) [ 34%]

...载url Laya.loader.load(url,Laya.Handler.create(this,this.showImg,[url]),null,Laya.Loader.IMAGE); } private showImg(url:string):void{ var t:Laya.Texture = Laya.loader.getRes(url); var ape:Laya.Sprite = new Laya.Sprite(); ape.graphics.drawTexture(t,0,0); Laya.stage.addChild(ape); ape.pos(200,0); } ``...

来源: Laya2.0_文档 发布时间: 20210714

2646. laya.resource.Resource_API3.0 [ 34%]

... Parameters Optional type: string (可选)事件类型,如果值为 null,则移除本对象所有类型的侦听器。 Returns EventDispatcher 此 EventDispatcher 对象。 offAllCaller offAllCaller(caller: any): EventDispatcher Inherited from EventDispatcher.offAllCaller Defined in laya/eve...

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

2647. 二进制图片(ActionScript-2D进阶篇(AS3)-游戏加载策略) [ 34%]

...oader来加载url Laya.loader.load(url, Handler.create(this,showImg,[url]),null,Loader.IMAGE); } private function showImg(url:String):void { var t:Texture = Laya.loader.getRes(url); var ape:Sprite = new Sprite(); ape.graphics.drawTexture(t,0,0); Laya.stage.addChild(ape); ape.pos(200, 0); } ``` 第...

来源: Laya2.0_文档 发布时间: 20210714

2648. 有关Laya3D碰撞检测疑问 [ 34%]

...rotate(new Laya.Vector3(-15, 0, 0), true, false); this.camera.clearColor = null;  //方向光 var directionLight: Laya.DirectionLight = scene.addChild(new Laya.DirectionLight()) as Laya.DirectionLight; directionLight.color = new Laya.Vector3(0.6, 0.6, 0.6); directionLight.direction = new Laya.Vecto...

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

2649. 2D物理-桥 [ 33%]

... from "../Main"; export class Physics_Physics_Bridge { Main: typeof Main = null; private ecount = 30; private label: Label; constructor(maincls: typeof Main) { this.Main = maincls; Laya.Config.isAntialias = true; Laya.init(1200, 700, WebGL); Stat.show(); Physics.enable(); PhysicsDebugDraw.enable(); ...

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

2650. Unity插件使用说明(TypeScript-3D基础(TS)-LayaAir3D之3D场景可视化编辑) [ 33%]

...pescript //3d场景加载 Laya.Scene3D.load("xx/xx.ls",Laya.Handler.create(null,function(scene){ //加载完成后,把加载回调中返回的完整场景scene添加到舞台 Laya.stage.addChild(scene); //获取摄像机 var camera = scene.getChildByName("Main Camera"); /** ** 省略其它代码...

来源: Laya2.0_文档 发布时间: 20210714