大约有 275 项符合查询结果, 库内数据总量为 30,897 项。 (搜索耗时: 0.0034 秒)
Laya_社区(168) Laya3.0_api(32) Laya2.0_文档(31) laya_api(16) Laya2.0_api(14) Laya_示例(8) Laya3.0_文档(6)
...y ShaderVariantCollection Index Accessors allCompiled variantCount Methods add clear compile contatins getByIndex remove Accessors allCompiled get allCompiled(): boolean Defined in laya/d3/shader/ShaderVariantCollection.ts:140 是否已经全部编译。 Returns boolean variantCount get variantCount...
来源: Laya3.0_api 发布时间: 20231102
...ents IClone Index Constructors constructor Accessors gradientCount Methods add clone cloneTo Constructors constructor new GradientDataVector2(): GradientDataVector2 Defined in laya/d3/core/particleShuriKen/module/GradientDataVector2.ts:15 创建一个 GradientDataVector2 实例。 Returns GradientDa...
来源: Laya3.0_api 发布时间: 20231115
...i=0; i<3; i++){ var ball = myscene.addChild(sp.clone()); ball.name = i.toString(); } console.log("add finished: ", myscene.numChildren); for(v...
来源: Laya_社区 发布时间: 20200723
...archy DefineDatas Implements IClone Index Constructors constructor Methods add addDefineDatas clear clone cloneTo has remove removeDefineDatas Constructors constructor new DefineDatas(): DefineDatas Defined in laya/d3/shader/DefineDatas.ts:11 创建一个 DefineDatas 实例。 Returns DefineDatas Me...
来源: Laya3.0_api 发布时间: 20231102
...ents IClone Index Constructors constructor Accessors gradientCount Methods add clone cloneTo getAverageValue getKeyByIndex getValueByIndex Constructors constructor new GradientDataNumber(): GradientDataNumber Defined in laya/d3/core/particleShuriKen/module/GradientDataNumber.ts:14 创建一个 Gradi...
来源: Laya3.0_api 发布时间: 20231115
...prototype["_remove"] = function(index){ // @xd added, 如果index == -1 不执行 if(index == -1){ return; } this.length--; ...
来源: Laya_社区 发布时间: 20190618
UI编辑界面中的Graphics UI编辑界面中的Graphics(图形),add在view上才显示,add在Btn,Img等组件上则不显示,且Graphics(图形)永远在view的最底层显示!这是为什么呢?? 2018-03-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到...
来源: Laya_社区 发布时间: 20180309
...hy UI3DManager Index Constructors constructor Properties _UI3Dlist Methods add destory rayCast remove update Constructors constructor new UI3DManager(): UI3DManager Defined in laya/d3/core/UI3D/UI3DManager.ts:7 Returns UI3DManager Properties _UI3Dlist _UI3Dlist: SingletonList<UI3D> = new Singl...
来源: Laya3.0_api 发布时间: 20231115
...esize); } function initMatter() { var gameWorld = new Sprite(); Laya.stage.addChild(gameWorld); // 初始化物理引擎 engine = Matter.Engine.create( { enableSleeping: true }); Matter.Engine.run(engine); var render = LayaRender.create( { engine: engine, container: gameWorld, width: stageWidth, hei...
来源: Laya_示例 发布时间: 20250219
...。当游戏界面a结束时,我把a场景removeSelf,并且把b场景add到stage中。当需要再次进行游戏的时候,把a再次add到stage中,发现a场景还有许多上次游戏的内容,数据并没有清空。也就是说再次add的时候a场景没有重新渲染。碰到过好...
来源: Laya_社区 发布时间: 20171214