大约有 952 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0057 秒)
...formMap) ``` - 2.添加标记。 ```typescript setFlag(key, value) ``` - 3.获取标记 ```typescript getFlag(key) ``` - 4.添加着色器Pass: vs:该Pass使用的顶点着色器文件 ps:该Pass使用的片元着色器文件 stateMap:是一个映射,key为渲染状态的名称,value为其...
来源: Laya2.0_文档 发布时间: 20210714
... 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
... 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
....添加标记。 ```typescript setFlag(key: string, value: string) ``` - 3.获取标记 ```typescript getFlag(key: string) ``` - 4.添加着色器Pass: vs:该Pass使用的顶点着色器文件 ps:该Pass使用的片元着色器文件 stateMap:是一个映射,key为渲染状态的名称,val...
来源: Laya2.0_文档 发布时间: 20210715
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true。示例代码如下: let sprite = new Laya.Sprite(); // 添加到舞台 Laya.stage.addChild(sprite); sprite.autoSize = true; 3.4.4 缓存为静态图像 示例代码如下: let...
来源: Laya3.0_文档 发布时间: 20251010
....添加标记。 ```typescript setFlag(key: String, value: String) ``` - 3.获取标记 ```typescript getFlag(key: String) ``` - 4.添加着色器Pass: vs:该Pass使用的顶点着色器文件 ps:该Pass使用的片元着色器文件 stateMap:是一个映射,key为渲染状态的名称,val...
来源: Laya2.0_文档 发布时间: 20210715
... 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
... 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
...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
... 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