大约有 402 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
Laya_社区(223) Laya2.0_文档(48) Laya3.0_文档(46) Laya3.0_api(38) laya_api(25) Laya2.0_api(17) Laya_示例(4) Laya2.0_示例(1)
...: number = 12 Defined in laya/d3/graphics/Vertex/VertexMesh.ts:47 顶点自定义数据0 Static MESH_CUSTOME1 MESH_CUSTOME1: number = 13 Defined in laya/d3/graphics/Vertex/VertexMesh.ts:49 顶点自定义数据1 Static MESH_CUSTOME2 MESH_CUSTOME2: number = 14 Defined in laya/d3/graphics/Vertex/Verte...
来源: Laya3.0_api 发布时间: 20231102
...or:Cannot set property 'y' of null"的解决方案 写了个边缘光的自定义shader,有很多问题,帮忙看一下 问题状态 最新活动: 2018-05-25 15:19 浏览: 1121 关注: 2 人
来源: Laya_社区 发布时间: 20180507
...["arcTo",x1,y1,x2,y2,r],["closePath"]]。 * @param brush (可选)刷子定义,支持以下设置{fillStyle:"#FF0000"}。 * @param pen (可选)画笔定义,支持以下设置{strokeStyle,lineWidth,lineJoin:"bevel|round|miter",lineCap:"butt|round|square",miterLimit}。 */ drawPath(x: numbe...
来源: Laya3.0_文档 发布时间: 20251010
...ertexElementFormat" VertexElementFormat Class VertexElementFormat 类用来定义顶点元素格式 Hierarchy VertexElementFormat Index Properties Byte2 Byte3 Byte4 ByteOne Color NormalizedShort2 NormalizedShort4 Short2 Short4 Single Vector2 Vector3 Vector4 Methods getElementInfos Properties Static ...
来源: Laya3.0_api 发布时间: 20231115
...](https://ke.qq.com/course/417469 ) ---------- LayaAir2.0开始,支持自定义脚本到编辑器,方便扩展已有组件功能  如果想在编辑器内展示脚本定义的属性,可用通过特殊注释来实现 比如下面的脚本类:  ...
来源: Laya2.0_文档 发布时间: 20210715
...](https://ke.qq.com/course/417469 ) ---------- LayaAir2.0开始,支持自定义脚本到编辑器,方便扩展已有组件功能  如果想在编辑器内展示脚本定义的属性,可用通过特殊注释来实现 比如下面的脚本类:  ...
来源: Laya2.0_文档 发布时间: 20201213
...ertexElementFormat" VertexElementFormat Class VertexElementFormat 类用来定义顶点元素格式 Hierarchy VertexElementFormat Index Properties Byte2 Byte3 Byte4 ByteOne Color NormalizedShort2 NormalizedShort4 Short2 Short4 Single Vector2 Vector3 Vector4 Methods getElementInfos Properties Static ...
来源: Laya3.0_api 发布时间: 20231102
...odDefined By _addDisablePublicShaderDefine(value:int):void 增加禁用宏定义。 BaseMaterial _addShaderDefine(value:int):void 增加Shader宏定义。 BaseMaterial _getBool(shaderIndex:int):* 获取布尔。 BaseMaterial _getBuffer(shaderIndex:int):* 获取Buffer。 BaseMaterial _getColor(s...
来源: laya_api 发布时间: 20170929
...t):ShaderCompile3D[static] 添加预编译shader文件,主要是处理宏定义 ShaderCompile3D createShader(publicDefine:Object, spriteDefine:Object, materialDefine:Object):Shader3DShaderCompile3D get(name:String):ShaderCompile3D[static] 获取ShaderCompile3D。 ShaderCompile3D getMateri...
来源: laya_api 发布时间: 20170929
...绘制描边文字 Public Properties PropertyDefined By color : String 定义文本颜色,比如"#ff0000"。 StrokeTextCmd font : String 定义字体和字号,比如"20px Arial"。 StrokeTextCmd lineWidth : Number 线条宽度。 StrokeTextCmd text : String 在画布上输出的文...
来源: Laya2.0_api 发布时间: 20190513