大约有 62 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0045 秒)
...运行时 找不到类的定义!这是为什么? 已上传 Demo 附件 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 关于微信7.0.3版本之后的版本,微信小游戏 Android 端调整 “在屏 Canvas” 的放缩策略 TS项目使用matter.js库无智能...
来源: Laya_社区 发布时间: 20161029
...r cylinderMesh:CylinderMesh=new CylinderMesh(0.05,2,8); var cylinder3D:MeshSprite3D=new MeshSprite3D(cylinderMesh); cylinder3D.transform.translate(new Vector3(3,0,0),true); cylinder3D.transform.localScale = new Vector3(2,2,2); cylinder3D.transform.localRotationEuler = new Vector3(90,90,90); role.get...
来源: Laya_社区 发布时间: 20170904
...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体...
来源: Laya_社区 发布时间: 20161128
...nsole.log("相机位置",(this.owner.getChildByName("Main Camera") as Laya.Sprite3D).transform.position) } onStart(): void { Laya.stage.on(Laya.Event.MOUSE_DOWN,this,this.onMouseDownCb) } private onMouseDownCb(e:Laya.Event):void{ console.log("点击屏幕") // console.log("相机位置",this.c...
来源: Laya_社区 发布时间: 20190621
...答(最新版本:1.7.16) TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask...
来源: Laya_社区 发布时间: 20220531
...lass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Sprite }) public sprite1: Laya.Sprite; @property({ type: Laya.Sprite }) public sprite2: Laya.Sprite; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均...
来源: Laya3.0_文档 发布时间: 20240528
...tyPlugin 使用须知-版本更新-问题解答(最新版本:1.7.16) sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale TS项目使用matter.js库无智能提示 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 微信小游戏如何使用ttf...
来源: Laya_社区 发布时间: 20171125
....addChild(new Laya.DirectionLight()); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh")); var translate = new Laya.Vector3(0, 0, 0); //(500, 500, 0)改为(0,0,0) var rotation = new Laya.Vector3(0, 0.01, 0); layaMonkey.once(Laya.Event.HI...
来源: Laya_社区 发布时间: 20170807
...egClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //We...
来源: Laya3.0_文档 发布时间: 20240926
...egClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 */ onAwake(): void { //...
来源: Laya3.0_文档 发布时间: 20240528