大约有 6,214 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0096 秒)
Laya_社区(4720) Laya2.0_文档(406) Laya3.0_api(400) Laya2.0_api(252) laya_api(215) Laya3.0_文档(182) Laya2.0_示例(22) Laya_示例(17)
...').item(0); var theHead = document.getElementsByTagName('body').item(0); //创建脚本的dom对象实例 var myScript = document.createElement('script'); myScript.src = jspath; //指定脚本路径 myScript.type = "text/javascript"; //指定脚本类型 myScript.defer = defer;//true; //程序下载...
来源: Laya_社区 发布时间: 20180316
...derTexture2D" RenderTexture2D Class RenderTexture2D RenderTexture 类用于创建渲染目标。 Hierarchy BaseTexture RenderTexture2D Implements IRenderTarget Index Constructors constructor Properties _id _isCameraTarget _renderTarget depthStencilTexture destroyedImmediately lock name url uuid DEBU...
来源: Laya3.0_api 发布时间: 20231115
...e/light/SpotLight" SpotLight Class SpotLight deprecated SpotLight 类用于创建聚光。 Hierarchy LightSprite SpotLight Index Constructors constructor Properties _extra _scene _url name tag WORLDINVERTFRONT Accessors active activeInHierarchy color components destroyed displayedInStage hideFlags i...
来源: Laya3.0_api 发布时间: 20231115
...structor Defined in laya/resource/HTMLCanvas.ts:59 根据指定的类型,创建一个 HTMLCanvas 实例。 Parameters Default value createCanvas: boolean = false Returns HTMLCanvas Properties _id _id: number = 0 Inherited from Resource._id Defined in laya/resource/Resource.ts:97 destroyedImmediate...
来源: Laya3.0_api 发布时间: 20231115
...huriken ObjectImplements IVertex VertexPositionNormalColorTangent 类用于创建粒子顶点结构。 Public Properties PropertyDefined By cornerTextureCoordinate : Vector4[read-only] VertexParticleShuriken position : Vector3[read-only] VertexParticleShuriken random0 : Vector4[read-only] ...
来源: laya_api 发布时间: 20170422
...个平面可以不用实际模型。鼠标射线检测对象,自己代码创建一个平面就好了,这个平面的z就是你角色脚底的位置(假设你角色头顶方向是z的正方向) HummerMan • 2017-09-08 10:14 感谢大神的耐心回复,我现在只是在学习中,领导...
来源: Laya_社区 发布时间: 20170904
...r = this.owner.getComponent<Laya.Animator2D>(Laya.Animator2D); // 1. 创建 Laya.Animation 并挂到角色节点 this.iceMonsterAni = new Laya.Animation(); this.owner.addChild(this.iceMonsterAni); this.iceMonsterAni.visible = false; // 默认隐藏 // 2. 开始加载 this.loadMcClips(); } /* -...
来源: Laya_社区 发布时间: 20251211
...new LoaderManager(): LoaderManager Defined in laya/net/LoaderManager.ts:72 创建一个新的 LoaderManager 实例。 注意:请使用Laya.loader加载资源,这是一个单例,不要手动实例化此类,否则会导致不可预料的问题。 Returns LoaderManager Properties maxLoader maxL...
来源: Laya3.0_api 发布时间: 20231102
...是运行一遍就把所有资源都删除掉了??? 另外,创建Laya自带的3D物体是可以的,但是加载Unity导出的模型也是同样的情况。 求官方人员们解决下。很急!!! 2019-12-03 0 0 分享 微博 QZONE 微信 Tengee 赞同来自: 我遇到的这...
来源: Laya_社区 发布时间: 20191130
...aya1.6.2发布flash版本 想要用laya发布flash项目使用LayaIDE1.6.2 创建一个AS示例项目, 这是最后一个IDE里直接可以发布flash的版本, 编译运行之后,h5版本可以运行, 但是flash版本运行报错 TypeError: Error #1009: 无法访问空对象引用的属性...
来源: Laya_社区 发布时间: 20200217