大约有 1,054 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0052 秒)
Laya_社区(387) Laya2.0_api(241) laya_api(189) Laya2.0_文档(81) Laya_示例(65) Laya2.0_示例(51) Laya3.0_api(32) Laya3.0_文档(8)
...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
...() { 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
...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
...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
..._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
...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
...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
...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
...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
..._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