大约有 136 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)
...w ShaderVariantCollection() Defined in laya/d3/shader/Shader3D.ts:94 调试着色器变种集合。 Accessors name get name(): string Defined in laya/d3/shader/Shader3D.ts:232 名字。 Returns string Methods addSubShader addSubShader(subShader: SubShader): void Defined in laya/d3/shader/Shader3D.ts...
来源: Laya3.0_api 发布时间: 20231102
...。 Sprite3D layer : int 获取蒙版。 Sprite3D LIGHTMAP : int[static] 着色器变量名,光照贴图。RenderableSprite3D LIGHTMAPSCALEOFFSET : int[static] 着色器变量名,光照贴图缩放和偏移。RenderableSprite3D name : String节点名称。Node numChildren : int[read-only] ...
来源: Laya2.0_api 发布时间: 20190513
...否有更详细一些的说明? 比如MultiPass如何设置等?各种着色器的输入定义,比如: uniform vec3 iResolution; // viewport resolution (in pixels) uniform float iGlobalTime; // shader playback time (in seconds) uniform float iTimeDelta; // render time (in seconds) unifo...
来源: Laya_社区 发布时间: 20170522
...。 Sprite3D layer : int 获取蒙版。 Sprite3D LIGHTMAP : int[static] 着色器变量名,光照贴图。RenderableSprite3D LIGHTMAPSCALEOFFSET : int[static] 着色器变量名,光照贴图缩放和偏移。RenderableSprite3D lineCount : int 获取线数量。 PixelLineSprite3D maxLin...
来源: Laya2.0_api 发布时间: 20190513
...与使用宏 ###### *version :2.7.0beta Update:2020-6-9* 开发者如果在着色器代码中有使用到宏的话,开发者需要使用 Shader3D 的 `getDefineByName` 接口注册宏定义。 > 注册宏定义的接口统一到了Shader3D中,是在2.3.* 版本优化之后的。在这之前的...
来源: Laya2.0_文档 发布时间: 20210715
...与使用宏 ###### *version :2.7.0beta Update:2020-6-9* 开发者如果在着色器代码中有使用到宏的话,开发者需要使用 Shader3D 的 `getDefineByName` 接口注册宏定义。 > 注册宏定义的接口统一到了Shader3D中,是在2.3.* 版本优化之后的。在这之前的...
来源: Laya2.0_文档 发布时间: 20210714
...与使用宏 ###### *version :2.7.0beta Update:2020-6-9* 开发者如果在着色器代码中有使用到宏的话,开发者需要使用 Shader3D 的 `getDefineByName` 接口注册宏定义。 > 注册宏定义的接口统一到了Shader3D中,是在2.3.* 版本优化之后的。在这之前的...
来源: Laya2.0_文档 发布时间: 20210714
...。 Sprite3D layer : int 获取蒙版。 Sprite3D LIGHTMAP : int[static] 着色器变量名,光照贴图。RenderableSprite3D LIGHTMAPSCALEOFFSET : int[static] 着色器变量名,光照贴图缩放和偏移。RenderableSprite3D meshFilter : MeshFilter[read-only] 获取网格过滤器。 Mesh...
来源: Laya2.0_api 发布时间: 20190513
...使用的是否为慢渲染模式。Stat shaderCall : int = 0[static] 着色器请求次数。Stat spriteCount : int = 0[static] 精灵Sprite 的数量。Stat treeNodeCollision : int = 0[static] 八叉树节点检测次数。Stat treeSpriteCollision : int = 0[static] 八叉树精灵碰...
来源: laya_api 发布时间: 20170929
...Inherited Public Constants ConstantDefined By LIGHTMAP : int = 3[static] 着色器变量名,光照贴图缩。RenderableSprite3D LIGHTMAPSCALEOFFSET : int = 2[static] 着色器变量名,光照贴图缩放和偏移。RenderableSprite3D SAHDERDEFINE_LIGHTMAP : int = 0x4[static] 精灵级着色...
来源: laya_api 发布时间: 20170929