• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,054 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0052 秒)

1001. Sprite-新手引导 [ 35%]

...e/help3.png", tipx: 900, tipy: 300 }]; var guideStep = 0; var hitArea; var interactionArea; (function() { Laya.init(1285, 727); Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.alignV = Stage.ALIGN_MIDDLE; //绘制一个蓝色方块,不被抠图 var gameContainer = new Sprite(); gameContainer.lo...

来源: Laya_示例 发布时间: 20241126

1002. UI-Clip [ 35%]

...() { counter = new Clip(clipSkin, 10, 1); counter.autoPlay = true; counter.interval = 1000; counter.x = (Laya.stage.width - counter.width) / 2 - 35; counter.y = (Laya.stage.height - counter.height) / 2 - 40; Laya.stage.addChild(counter); } function showTotalSeconds() { var clip = new Clip(clipSkin, ...

来源: Laya_示例 发布时间: 20241126

1003. laya.d3.core.material.WaterPrimaryMaterial_API3.0 [ 35%]

...diately lock name renderQueue url uuid ALPHATESTVALUE DEBUG HORIZONCOLOR MAINTEXTURE NORMALTEXTURE RENDERQUEUE_ALPHATEST RENDERQUEUE_OPAQUE RENDERQUEUE_TRANSPARENT SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALPHATEST SHADERDEFINE_MAINTEXTURE SHADERDEFINE_NORMALTEXTURE WAVESCALE WAVESPEED defaultMaterial A...

来源: Laya3.0_api 发布时间: 20231115

1004. Sprite-新手引导 [ 35%]

...lp3.png", tipx:900, tipy:300 } ], gameContainer, guideContainer, maskArea, interactionArea, hitArea, tipContainer, guideStep = 0; class Sprite_Guide { constructor() { const WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(1285, 727, WebGL); Laya.stage.align...

来源: Laya2.0_示例 发布时间: 20241126

1005. laya.d3.core.material.SkyProceduralMaterial_API3.0 [ 35%]

..._TRANSPARENT SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALPHATEST SHADERDEFINE_MAINTEXTURE SUN_HIGH_QUALITY SUN_NODE SUN_SIMPLE defaultMaterial Accessors MaterialDefine MaterialProperty _defineDatas alphaTest alphaTestValue atmosphereThickness blend blendDst blendDstAlpha blendDstRGB blendEquation blendEq...

来源: Laya3.0_api 发布时间: 20231115

1006. laya.d3.core.material.UnlitMaterial_API3.0 [ 34%]

...XTURE SHADERDEFINE_ALPHATEST SHADERDEFINE_ENABLEVERTEXCOLOR SHADERDEFINE_MAINTEXTURE TILINGOFFSET Accessors MaterialDefine MaterialProperty _defineDatas albedoColor albedoIntensity albedoTexture alphaTest alphaTestValue blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendE...

来源: Laya3.0_api 发布时间: 20231115

1007. 批量销毁释放内存(ActionScript-3D基础(AS3)-LayaAir3D的内存管理) [ 34%]

...Filter.sharedMesh.lock = true; //对预设所有的材质上锁 for (var i:int = 0; i < skinnedmesh.skinnedMeshRenderer.sharedMaterials.length;i++ ){ skinnedmesh.skinnedMeshRenderer.sharedMaterials[i].lock = true; } })); ``` ##### 3D批量加载时,资源上锁 ​ 在批量加载资源的时候...

来源: Laya2.0_文档 发布时间: 20210715

1008. UI-Clip [ 34%]

...a.stage.addChild(this.counter); this.counter.autoPlay = true; this.counter.interval = 1000; this.counter.x = (Laya.stage.width - this.counter.width) / 2 - 35; this.counter.y = (Laya.stage.height - this.counter.height) / 2 - 40; } showTotalSeconds() { const Clip = Laya.Clip; let clip = new Clip(clipS...

来源: Laya2.0_示例 发布时间: 20241126

1009. 批量销毁释放内存(TypeScript-3D基础(TS)-LayaAir3D的内存管理) [ 34%]

...Filter.sharedMesh.lock = true; //对预设所有的材质上锁 for (var i:int = 0; i < skinnedmesh.skinnedMeshRenderer.sharedMaterials.length;i++ ){ skinnedmesh.skinnedMeshRenderer.sharedMaterials[i].lock = true; } })); ``` ##### 3D批量加载时,资源上锁 ​ 在批量加载资源的时候...

来源: Laya2.0_文档 发布时间: 20210715

1010. laya.d3.core.material.ExtendTerrainMaterial_API3.0 [ 34%]

..._TRANSPARENT SHADERDEFINE_ADDTIVEFOG SHADERDEFINE_ALPHATEST SHADERDEFINE_MAINTEXTURE Accessors MaterialDefine MaterialProperty _defineDatas alphaTest alphaTestValue blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB cpuMemory...

来源: Laya3.0_api 发布时间: 20231115