大约有 228 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0041 秒)
...ureCmd blendMode : String (可选)混合模式。 DrawTextureCmd color : String (可选)颜色滤镜。 DrawTextureCmd colorFlt : ColorFilter = nullDrawTextureCmd height : Number (可选)高度。 DrawTextureCmd matrix : Matrix (可选)矩阵信息。 DrawTextureCmd ...
来源: Laya2.0_api 发布时间: 20190513
...TextCmd Object 绘制描边文字 Public Properties PropertyDefined By color : String 定义文本颜色,比如"#ff0000"。 StrokeTextCmd font : String 定义字体和字号,比如"20px Arial"。 StrokeTextCmd lineWidth : Number 线条宽度。 StrokeTextCmd text : String 在画布...
来源: Laya2.0_api 发布时间: 20190513
...umentationAll Packages | All Classes | Index | Frames No Frames SolidColorTexture2DProperties | Methods Packagelaya.d3.resourceClasspublic class SolidColorTexture2DInheritanceSolidColorTexture2D BaseTexture laya.resource.Resource SolidColorTexture2D 二维纯色纹理。 Public Properties Hi...
来源: laya_api 发布时间: 20170929
...pha DrawTrianglesCmd blendMode : String blend模式 DrawTrianglesCmd color : ColorFilter 颜色变换 DrawTrianglesCmd indices : Uint16Array 顶点索引。 DrawTrianglesCmd matrix : Matrix 缩放矩阵。 DrawTrianglesCmd texture : Texture 纹理。 DrawTrianglesCmd uvs : Float32A...
来源: Laya2.0_api 发布时间: 20190513
...剪值。 BaseMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial blendEquation : int混合方程。BaseMaterial blendEquationAlpha : intAlpha混合方程。BaseMaterial blendEquationRGB : intRGB混合方程。BaseMaterial cull : int渲染...
来源: laya_api 发布时间: 20170603
...要修改 BlinnPhone 的 shader 为 Laya.Unlit shader ,并勾选 Vertex Color (动图2-5) 有了材质,剩下就需要添加像素线数据了 2.4 像素线数据 像素线数据就两点,像素线的最大线数量和像素线数据,如图2-6所示 (图2-6) Max Line Count:最大...
来源: Laya3.0_文档 发布时间: 20251010
...VertexElementUsage BLENDWEIGHT0 : int = 7[static] VertexElementUsage COLOR0 : int = 1[static] VertexElementUsage COLOR1 : int = 13[static] VertexElementUsage CORNERTEXTURECOORDINATE0 : int = 17[static] VertexElementUsage DEPTH0 : int = 8[static] VertexElementUsage DIRECTIONTIME : i...
来源: laya_api 发布时间: 20170929
...剪值。 BaseMaterial blend : int透明混合。BaseMaterial blendConstColor : Vector4混合常量颜色。BaseMaterial blendEquation : int混合方程。BaseMaterial blendEquationAlpha : intAlpha混合方程。BaseMaterial blendEquationRGB : intRGB混合方程。BaseMaterial cull : int渲染...
来源: laya_api 发布时间: 20170929
...IGHT0, ShaderDataType.Vector4] Defined in laya/d3/shader/SubShader.ts:49 a_Color a_Color: [number, Vector4] = [VertexMesh.MESH_COLOR0, ShaderDataType.Vector4] Defined in laya/d3/shader/SubShader.ts:48 a_Normal a_Normal: [number, Vector3] = [VertexMesh.MESH_NORMAL0, ShaderDataType.Vector3] Defined in...
来源: Laya3.0_api 发布时间: 20231102
...三、代码中使用3.1 同一个文本中设置Bold、Font、FontSize、Color、下划线3.2 同一个文本中设置字体、颜色不同3.3 获取html文本的实际宽高(contextWidth、contextHeight)3.4 设置文本的水平居中对齐(align需要和width配合使用)3.5 实现超链接3....
来源: Laya3.0_文档 发布时间: 20230303