大约有 683 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0066 秒)
Laya_社区(327) Laya3.0_api(89) Laya2.0_api(69) Laya2.0_文档(65) laya_api(61) Laya3.0_文档(38) Laya2.0_示例(19) Laya_示例(15)
...nstructor Properties _color uv Accessors cmds color height sizeGrid source width Methods addCmd alpha clear clipRect destroy drawCircle drawCurves drawEllipse drawImage drawLine drawLines drawPath drawPie drawPoly drawRect drawTexture drawTextures drawTriangles fillBorderText fillText fillTexture ge...
来源: Laya3.0_api 发布时间: 20231115
...tion() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; Laya.loader.load(apePath, Handler.create(t...
来源: Laya_示例 发布时间: 20241117
...为0ColliderBase rigidBody : RigidBody[只读]刚体引用ColliderBase width : Number矩形宽度BoxCollider x : Number相对节点的x轴偏移BoxCollider y : Number相对节点的y轴偏移BoxColliderPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefine...
来源: Laya2.0_api 发布时间: 20190513
...的RenderTexture var renderTexture = RenderTexture.createFromPool(viewPort.width,viewPort.height,RenderTextureFormat.R8G8B8,RenderTextureDepthFormat.DEPTHSTENCIL_NONE); this.texture = renderTexture; //将当前渲染的结果拷贝到创建好的RenderTexture buf.blitScreenTriangle(null,renderTextur...
来源: Laya3.0_文档 发布时间: 20230303
...signHeight : Number = 0设计高度(初始化时设置的高度Laya.init(width,height))Stage designWidth : Number = 0设计宽度(初始化时设置的宽度Laya.init(width,height))Stage destroyed : Boolean[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInSta...
来源: laya_api 发布时间: 20170929
...signHeight : Number = 0设计高度(初始化时设置的高度Laya.init(width,height))Stage designWidth : Number = 0设计宽度(初始化时设置的宽度Laya.init(width,height))Stage destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displa...
来源: Laya2.0_api 发布时间: 20190513
...lipX、竖向分隔数量 ClipY,或横向分割每个切片的宽度 ClipWidth、竖向分割每个切片的高度 ClipHeight,从左向右,从上到下,分割组合为一个切片动画。Clip 的脚本接口参考Clip API。 一、通过LayaAir IDE创建Clip组件 1.1 创建Clip 如图1-1...
来源: Laya3.0_文档 发布时间: 20241014
...的RenderTexture var renderTexture = RenderTexture.createFromPool(viewPort.width,viewPort.height,RenderTextureFormat.R8G8B8,RenderTextureDepthFormat.DEPTHSTENCIL_NONE); this.texture = renderTexture; //将当前渲染的结果拷贝到创建好的RenderTexture buf.blitScreenTriangle(null,renderTextur...
来源: Laya2.0_文档 发布时间: 20210715
... Accessors cpuMemory destroyed gpuMemory height id obsolute referenceCount width cpuMemory gpuMemory Methods _addReference _clearReference _removeReference _setCPUMemory _setCreateURL _setGPUMemory destroy event getVideo hasListener isCreateFromURL off offAll offAllCaller on once setSource create de...
来源: Laya3.0_api 发布时间: 20231102
...iewport Index Constructors constructor Properties height maxDepth minDepth width x y _tempViewport Methods cloneTo project set unprojectFromMat unprojectFromWVP Constructors constructor new Viewport(x?: number, y?: number, width?: number, height?: number): Viewport Defined in laya/d3/math/Viewport.t...
来源: Laya3.0_api 发布时间: 20231115