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

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

431. SubShader介绍(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 45%]

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

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

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

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

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

433. laya.ui.Tree_API3.0 [ 44%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

434. laya.d3.core.render.BaseRender_API3.0 [ 44%]

... 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

435. Clip属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 43%]

...也可以通过代码来设置,上述示例演示了如何通过计时器获取每一秒更新clip.clipX切片,通过每秒更新数字实现计时器的功能,有兴趣的读者可以自己通过代码设置Clip,创建出符合自己项目中需要的Clip。 **示例代码:** ```typescrip...

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

436. laya.display.Input_API3.0 [ 43%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display...

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

437. laya.d3.core.MeshRenderer_API3.0 [ 42%]

... 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

438. laya.ui.HScrollBar_API3.0 [ 42%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 bottomMoveLimit bottomMoveLimit: number = 0 Inherited from ScrollBar.bottomMoveLimit Defined in lay...

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

439. laya.ui.VScrollBar_API3.0 [ 42%]

...且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 bottomMoveLimit bottomMoveLimit: number = 0 Inherited from ScrollBar.bottomMoveLimit Defined in lay...

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

440. laya.d3.graphics.vertex.VertexMesh_API3.0 [ 42%]

...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