大约有 1,150 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0075 秒)
Laya3.0_api(314) Laya_社区(291) Laya2.0_api(226) laya_api(174) Laya2.0_文档(113) Laya3.0_文档(29) Laya2.0_示例(3)
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya3.0_api 发布时间: 20231102
...r new Timer(autoActive?: boolean): Timer Defined in laya/utils/Timer.ts:34 创建 Timer 类的一个实例。 Parameters Default value autoActive: boolean = true Returns Timer Properties currFrame currFrame: number = 0 Defined in laya/utils/Timer.ts:22 当前的帧数。 currTimer currTimer: number ...
来源: Laya3.0_api 发布时间: 20231115
...当前页面的关闭而结束;这意味着Dedicated web worker只能被创建它的页面访问。与之相对应的Shared web worker可以被多个页面访问。但是web worker有些限制,并非所有的接口和方法都能使用。 - Web Worker无法访问DOM节点; - Web Worker无法...
来源: Laya2.0_文档 发布时间: 20210715
...riKen/module/shape/ConeShape" ConeShape Class ConeShape ConeShape 类用于创建锥形粒子形状。 Hierarchy BaseShape ConeShape Implements IClone Index Constructors constructor Properties angle emitType enable length radius randomDirection shapeType Accessors angleDEG Methods clone cloneTo gene...
来源: Laya3.0_api 发布时间: 20231115
...eCamera Sprite3D ComponentNode Node EventDispatcher Object Camera 类用于创建VR摄像机。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Sprite3D activeInHierarchy : Boolean[read-only] 获...
来源: laya_api 发布时间: 20170929
...son", Laya.Handler.create(this, onLoaded)); function onLoaded() { //创建一个Animation实例 var tl = new Laya.Animation(); //加载动画文件 tl.loadAnimation("TimeLine.ani"); //添加到舞台 Laya.stage.addChild(tl); //播放Animation动画 ...
来源: Laya_社区 发布时间: 20171012
...il/TrailSprite3D" TrailSprite3D Class TrailSprite3D TrailSprite3D 类用于创建拖尾渲染精灵。 Hierarchy RenderableSprite3D TrailSprite3D Index Constructors constructor Properties _extra _scene _url name tag LIGHTMAP LIGHTMAPSCALEOFFSET LIGHTMAP_DIRECTION PICKCOLOR REFLECTIONCUBE_HDR_PARAMS ...
来源: Laya3.0_api 发布时间: 20231115
...xported Menu Globals "laya/display/Input" Input Class Input Input 类用于创建显示对象以显示和输入文本。 Input 类封装了原生的文本输入框,由于不同浏览器的差异,会导致此对象的默认文本的位置与用户点击输入时的文本的位置有少许的偏...
来源: Laya3.0_api 发布时间: 20231115
...用renderTarget缓存。 webgl下renderTarget缓存模式缺点:会额外创建renderTarget对象,增加内存开销,缓存面积有最大2048限制,不断重绘时会增加CPU开销。优点:大幅减少drawcall,渲染性能最高。 webgl下命令缓存模式缺点:只会减少节点...
来源: Laya3.0_api 发布时间: 20231102
... Globals "laya/d3/math/Viewport" Viewport Class Viewport Viewport 类用于创建视口。 Hierarchy Viewport Index Constructors constructor Properties height maxDepth minDepth width x y _tempViewport Methods cloneTo project set unprojectFromMat unprojectFromWVP Constructors constructor new Viewport...
来源: Laya3.0_api 发布时间: 20231115