• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 959 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0074 秒)

931. 精灵 · LayaAir3.4 · 引擎文档 · LAYABOX [ 30%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true。示例代码如下: let sprite = new Laya.Sprite(); // 添加到舞台 Laya.stage.addChild(sprite); sprite.autoSize = true; 3.4.4 缓存为静态图像 示例代码如下: let...

来源: Laya3.0_文档 发布时间: 20251010

932. SubShader介绍(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 30%]

....添加标记。 ```typescript setFlag(key: String, value: String) ``` - 3.获取标记 ```typescript getFlag(key: String) ``` - 4.添加着色器Pass: vs:该Pass使用的顶点着色器文件 ps:该Pass使用的片元着色器文件 stateMap:是一个映射,key为渲染状态的名称,val...

来源: Laya2.0_文档 发布时间: 20210715

933. laya.d3.physics.constraints.ConfigurableConstraint_API3.0 [ 30%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

来源: Laya3.0_api 发布时间: 20231115

934. laya.d3.core.MeshRenderer_API3.0 [ 30%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

来源: Laya3.0_api 发布时间: 20231115

935. laya.display.Graphics [ 30%]

...texture填充。 Graphics  getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics  loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Function = null):void...

来源: laya_api 发布时间: 20170929

936. laya.d3.component.volume.volumetricgi.VolumetricGI_API3.0 [ 29%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 probeCounts probeCounts: Vector3 Defined in laya/d3/component/Volume/VolumetricGI/VolumetricGI.ts:12 probeStep probeStep: Vector3 Defined in laya/d3/component/Volume/VolumetricGI/VolumetricGI.ts:13 O...

来源: Laya3.0_api 发布时间: 20231115

937. 微信小游戏分包实战(ActionScript-小游戏适配文档-微信小游戏) [ 29%]

...base/subpackage/LoadSubpackageTask.html),可以通过 LoadSubpackageTask 获取当前下载进度。示例代码如下: ```javascript loadTask.onProgressUpdate(res => { console.log('下载进度', res.progress) console.log('已经下载的数据长度', res.totalBytesWritten) console.log('预期...

来源: Laya2.0_文档 发布时间: 20210715

938. laya.d3.core.SkinnedMeshRenderer_API3.0 [ 28%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

来源: Laya3.0_api 发布时间: 20231115

939. laya.d3.core.SimpleSkinnedMeshRenderer_API3.0 [ 28%]

... Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:34 是否可以在IDE环境中运行 Optional scriptPath scriptPath: string Inhe...

来源: Laya3.0_api 发布时间: 20231115

940. laya.display.Graphics [ 28%]

...texture填充。 Graphics  getBounds(realSize:Boolean = false):Rectangle 获取位置及宽高信息矩阵(比较耗CPU,频繁使用会造成卡顿,尽量少用)。 Graphics  loadImage(url:String, x:Number = 0, y:Number = 0, width:Number = 0, height:Number = 0, complete:Function = null):void...

来源: Laya2.0_api 发布时间: 20190513