大约有 192 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0057 秒)
...个小黑人 ani not found: res/atlas/default/blackMan.json public static readonly BLACK_MAN = "res/atlas/default/blackMan.json"; this.aniTemp.loadAtlas(ResourcesManager.BLACK_MAN, null, ResourcesManager.BLACK_MAN); json 文件是 {"frames":{"000001man.png":{"frame":{"x":0,"y":0,"...
来源: Laya_社区 发布时间: 20170824
...,否则会有内容清理问题 this.destroy(); return; } static getTextTexture(w: number, h: number): TextTexture { // 不再回收 return new TextTexture(w, h); } 2020-03-02 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 可以传个复现demo吗,我自己弄不...
来源: Laya_社区 发布时间: 20200302
...efined in laya/d3/core/BaseCamera.ts:206 渲染时是否用遮挡剔除。 Static RENDERINGTYPE_DEFERREDLIGHTING RENDERINGTYPE_DEFERREDLIGHTING: string = "DEFERREDLIGHTING" Inherited from BaseCamera.RENDERINGTYPE_DEFERREDLIGHTING Defined in laya/d3/core/BaseCamera.ts:67 渲染模式,延迟光照渲...
来源: Laya3.0_api 发布时间: 20231115
...nherited from Node.name Defined in laya/display/Node.ts:61 节点名称。 Static TEMPVECTOR3 TEMPVECTOR3: Vector3 = new Vector3() Defined in laya/d3/core/reflectionProbe/ReflectionProbe.ts:26 Static defaultTextureHDRDecodeValues defaultTextureHDRDecodeValues: Vector4 = new Vector4(1.0,1.0,0.0,0.0) ...
来源: Laya3.0_api 发布时间: 20231102
...mage 高度图。 * @param name 名字。 * @returns 地形渲染节点 */ static createFromMeshAndHeightMap(mesh: Mesh, texture: Texture2D, minHeight: number, maxHeight: number, name: string = null): MeshTerrainSprite3D { var meshTerrainSprite3D: MeshTerrainSprite3D = new MeshTerrainSprite3D(mesh, ...
来源: Laya3.0_文档 发布时间: 20230303
...径 * @param height 垂直层数 * @param width 水平层数 * @return */ static createBox(long: number = 1, height: number = 1, width: number = 1): Mesh 可以看到,通过 createBox 方法,可以创建Box网格,而且还可以创建不同的垂直和水平高度。 因此,可以通过代...
来源: Laya3.0_文档 发布时间: 20251010
... */ private _fly_site:Site = new SiteEntity( 10, 10, -1, 400 ); public static _ani_cached:boolean = false; // toset: /** 飞行物的中心点, 参照物为魔鬼, 用于确定瞄准点和整体的中心点 */ private _pivot_demon:Point = <Point>{ x: 50, y: 50 }; /** 特指血条+魔...
来源: Laya_社区 发布时间: 20180515
...oord);}\n";自定义材质class CustomMaterial extends Laya.BaseMaterial { static DIFFUSETEXTURE_ID: number = 1; constructor() { super(); this.setShaderName("CustomShader"); } public getDiffuseTexture(): Laya.BaseTexture { return this._getTexture(CustomMaterial.DIFFUSETEXTURE_ID); } public setDiffus...
来源: Laya_社区 发布时间: 20170815
...llJs"] = function(msg,data){ }.bind(this);然后,Java这边: public static void callToJs(int msg, JSONObject data) { StringBuilder cmd = new StringBuilder("window.natvieCallJs("); cmd.append(msg); cmd.append(','); cmd.append(data); cmd.append(')'); Log.d("JSBridge", "callToJs:" + cmd); ConchJ...
来源: Laya_社区 发布时间: 20190515
...tY right rotation scaleX scaleY scene scene3D scrollRect skewX skewY stage staticCache texture timer top transform url viewport visible width x y zOrder root Methods _initialize _processActive addChild addChildAt addChildren addComponent addComponentInstance bubbleEvent callLater clearTimer close co...
来源: Laya3.0_api 发布时间: 20231115