大约有 479 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0069 秒)
Laya3.0_api(137) Laya_社区(113) Laya2.0_api(94) laya_api(91) Laya2.0_文档(27) Laya3.0_文档(14) Laya2.0_示例(2) Laya_示例(1)
....添加标记。 ```typescript setFlag(key: string, value: string) ``` - 3.获取标记 ```typescript getFlag(key: string) ``` - 4.添加着色器Pass: vs:该Pass使用的顶点着色器文件 ps:该Pass使用的片元着色器文件 stateMap:是一个映射,key为渲染状态的名称,val...
来源: Laya2.0_文档 发布时间: 20210715
....添加标记。 ```typescript setFlag(key: String, value: String) ``` - 3.获取标记 ```typescript getFlag(key: String) ``` - 4.添加着色器Pass: vs:该Pass使用的顶点着色器文件 ps:该Pass使用的片元着色器文件 stateMap:是一个映射,key为渲染状态的名称,val...
来源: Laya2.0_文档 发布时间: 20210715
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: 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
...也可以通过代码来设置,上述示例演示了如何通过计时器获取每一秒更新clip.clipX切片,通过每秒更新数字实现计时器的功能,有兴趣的读者可以自己通过代码设置Clip,创建出符合自己项目中需要的Clip。 **示例代码:** ```typescrip...
来源: Laya2.0_文档 发布时间: 20210714
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...
来源: 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
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 bottomMoveLimit bottomMoveLimit: number = 0 Inherited from ScrollBar.bottomMoveLimit Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 bottomMoveLimit bottomMoveLimit: number = 0 Inherited from ScrollBar.bottomMoveLimit Defined in lay...
来源: Laya3.0_api 发布时间: 20231115
...an): VertexDeclaration Defined in laya/d3/graphics/Vertex/VertexMesh.ts:82 获取顶点声明。 Parameters vertexFlag: string 顶点声明标记字符,格式为:"POSITION,NORMAL,COLOR,UV,UV1,BLENDWEIGHT,BLENDINDICES,TANGENT"。 Default value compatible: boolean = true Returns VertexDeclaration 顶...
来源: Laya3.0_api 发布时间: 20231102