大约有 716 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0062 秒)
...ree.width) / 2; tree.y = (Laya.stage.height - tree.height) / 2; //加载到舞台 Laya.stage.addChild(tree); } } } import laya.ui.Box; import laya.ui.Clip; import laya.ui.Label; // IDE中生成的此类对应的json对象,在此作为参考,对应树形结构中的单元格Item类 // {"child": [...
来源: Laya2.0_文档 发布时间: 20210715
...herited from AnimationBase.stage Defined in laya/display/Sprite.ts:1599 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from AnimationBase.staticCache Defined in laya/display/Sprite.ts:380 设置cacheAs为非空时此...
来源: Laya3.0_api 发布时间: 20231102
...默认值为0。以角度为单位。Sprite stage : Stage[read-only] 对舞台 stage 的引用。Sprite staticCache : Boolean 是否静态缓存此对象的当前帧的最终属性。为 true 时,子对象变化时不会自动更新缓存,但是可以通过调用 reCache 方法手动刷新。 ...
来源: laya_api 发布时间: 20170929
...tatic loopCount loopCount: number = 0 Defined in laya/utils/Stat.ts:104 主舞台 Stage 渲染次数计数。 Static memoryShow memoryShow: Array<StatUIParams> = [Stat.GPUMemory, Stat.TextureMemeory, Stat.RenderTextureMemory, Stat.BufferMemory] Defined in laya/utils/Stat.ts:65 Static renderSho...
来源: Laya3.0_api 发布时间: 20231115
...herited from AnimationBase.stage Defined in laya/display/Sprite.ts:1599 对舞台 stage 的引用。 Returns Stage staticCache get staticCache(): boolean set staticCache(value: boolean): void Inherited from AnimationBase.staticCache Defined in laya/display/Sprite.ts:380 设置cacheAs为非空时此...
来源: Laya3.0_api 发布时间: 20231102
...,创建的Scene 3D场景和Scene 2D容器或元素可以同时加载到舞台上。 下面我们先来了解一个3D场景的参数都有哪些,为了让一个3D场景达到一个好的效果,都需要考虑的因素。我们通过创建3D-RPG项目来参考,如图1-2所示 (图1-2) 创...
来源: Laya3.0_文档 发布时间: 20251010