大约有 619 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0058 秒)
...r IDE的帧属性面板不见了 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale LayaAirIDE下如何使用mask? 微信小游戏:HTMLDivElement的使用 使用3D时候,Property 'getComponentByType' does not exist on type 'No...
来源: Laya_社区 发布时间: 20161214
...lass() export class Animation extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Animation }) //在IDE面板中显示属性 ani: Laya.Animation; constructor() { super(); } //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次...
来源: Laya3.0_文档 发布时间: 20251010
...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_文档 发布时间: 20251010
...更新-问题解答(最新版本:1.7.16) 微信小游戏如何竖屏 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 关于微信7.0.3版本之后的版本,微信小游戏 Android 端调整 “在屏 Canvas” 的放缩策略 LayaAirIDE下如何使用mask? 使...
来源: Laya_社区 发布时间: 20180410
...什么? 已上传 Demo 附件 TS项目使用matter.js库无智能提示 sprite3d怎样使用Laya.Tween.to来做缓动呢?比如position或者scale 微信小游戏:HTMLDivElement的使用 微信小游戏如何使用ttf字体? LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComp...
来源: Laya_社区 发布时间: 20161018
...以查看官方示例([demo地址]())。 ```typescript var material = meshSprite3D.meshRenderer.material; //法线贴图 Laya.Texture2D.load(normalMapUrl[i], Laya.Handler.create(this, function(texture) { //设置发现贴图 material.normalTexture = texture; })); ``` (图5) ##### 高...
来源: Laya2.0_文档 发布时间: 20210715
...以查看官方示例([demo地址]())。 ```typescript var material = meshSprite3D.meshRenderer.material as Laya.BlinnPhongMaterial; //法线贴图 Laya.Texture2D.load(normalMapUrl[i], Laya.Handler.create(this, function(texture) { //设置发现贴图 material.normalTexture = texture; })); ``` ` 方法来获取模型上的组件。带动画的模型在加载创建时引擎默认赋予了Animator动画组件,因此我们可以获取它,参考以下代码。 ```typescript //获...
来源: Laya2.0_文档 发布时间: 20210715
...sform: Transform3D; onStart(): void { this.transform = (this.owner as Laya.Sprite3D).transform; this.CurrentAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); this.targetAngles = new Vector3(-this.transform.rotationEuler.x, this.transform.rotationEuler.y, 0); t...
来源: Laya_社区 发布时间: 20170714