大约有 187 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0055 秒)
Laya_社区(59) Laya3.0_api(43) Laya_示例(27) Laya3.0_文档(16) Laya2.0_api(15) laya_api(15) Laya2.0_文档(12)
...eValue:number = 0; private layaMonkey_clone1:Laya.Sprite3D; private layaMonkey_clone2:Laya.Sprite3D; private layaMonkey_clone3:Laya.Sprite3D; private clone1Transform:Laya.Transform3D; private clone2Transform:Laya.Transform3D; private...
来源: Laya_社区 发布时间: 20190509
...ne3D):void{ Laya.stage.addChild(res); //用于挂点的精灵 var box: MeshSprite3D = new MeshSprite3D(PrimitiveMesh.createBox(1,1,1)); var material: BlinnPhongMaterial = new BlinnPhongMaterial(); Texture2D.load("res/layabox.png", Handler.create(this, function(tex:Texture2D):void { material.albedoTe...
来源: Laya2.0_文档 发布时间: 20210714
...mera; private directionlight: Laya.DirectionLight; private character: Laya.Sprite3D; private monster_character: Laya.Sprite3D; private translateW: Laya.Vector3 = new Laya.Vector3(0, 0, 0.2); private translateS: Laya.Vector3 = new Laya.Vector3(0, 0, -0.2); private translateA: Laya.Vector3 = new Laya....
来源: Laya_社区 发布时间: 20200917
...0。 2.必须确保粒子文件加载完成后再去调整 缩放 var part:Sprite3D = scene.addChild(Sprite3D.load("part.lh")) as Sprite3D; part.once(Event.HIERARCHY_LOADED, this, function():void{ part.transform.localScale = new Vector3(3, 3, 3); }); 我按照这个调整粒子大小...
来源: Laya_社区 发布时间: 20180705
...s Packagelaya.d3.coreClasspublic class CameraInheritanceCamera BaseCamera Sprite3D Node EventDispatcher Object Camera 类用于创建摄像机。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Nod...
来源: Laya2.0_api 发布时间: 20190513
...eControlScript extends Laya.Script{ /*角色模型*/ public roleModel:Laya.Sprite3D; /*角色动画组件*/ public roleAni:Laya.Animator; /*角色当前动作*/ public currentAction:string = "stand"; /*角色动画是否完成*/ public aniComplete:Boolean = true; /*角色移动速度*/ public speed:...
来源: Laya_社区 发布时间: 20171113
... Static WORLDINVERTFRONT WORLDINVERTFRONT: number Inherited from RenderableSprite3D.WORLDINVERTFRONT Defined in laya/d3/core/Sprite3D.ts:31 Static _contextScissorPortCatch _contextScissorPortCatch: Vector4 = new Vector4(0, 0, 0, 0) Defined in laya/d3/core/Camera.ts:86 Accessors active get active(): ...
来源: Laya3.0_api 发布时间: 20231115
... Static WORLDINVERTFRONT WORLDINVERTFRONT: number Inherited from RenderableSprite3D.WORLDINVERTFRONT Defined in laya/d3/core/Sprite3D.ts:31 Static _contextScissorPortCatch _contextScissorPortCatch: Vector4 = new Vector4(0, 0, 0, 0) Inherited from Camera._contextScissorPortCatch Defined in laya/d3/co...
来源: Laya3.0_api 发布时间: 20231115
... //方法一:直接异步加载 var layaMonkey:Sprite3D = scene.addChild(Sprite3D.load(url+"LayaScene_sharedunity/sharedunity.lh")) as Sprite3D; var zombieAnimator:Animator =layaMonkey.getChildAt(0).getComponentByType(Animat...
来源: Laya_社区 发布时间: 20180122
...粒子特效,加载完成不回调 this.lz = this.sceneP.addChild(Laya.Sprite3D.load("res/h5/LayaScene_Effect/Effect.lh")) as Laya.Sprite3D; this.lz.once(Event.HIERARCHY_LOADED, this,function():void{ console.error("改变大小"); }); 之前是按照ls导出的不回调,你们在线技术说场...
来源: Laya_社区 发布时间: 20180327