大约有 353 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0039 秒)
Laya_社区(181) Laya3.0_api(56) Laya2.0_api(45) laya_api(27) Laya3.0_文档(26) Laya2.0_文档(17) Laya_示例(1)
...endSrc : int 获取混合源。 PixelLineMaterial color : Vector4 获取颜色。 PixelLineMaterial cull : int 获取剔除方式。 PixelLineMaterial depthTest : int 获取深度测试方式。 PixelLineMaterial depthWrite : Boolean 获取是否写入深度。 PixelLineMaterial renderQ...
来源: Laya2.0_api 发布时间: 20190513
如何更改Laya.Sprite3D 物件的颜色 我想要实现这张图片闪烁的效果,在unity的做法是透过iTween 去改变material.Color值,我想知道layaair里面要怎么实现这个效果呢? 附图分别是这张图片亮与暗的两种状态。 附件 : --> 2017-12-11 添加评论...
来源: Laya_社区 发布时间: 20171211
...sform.rotate(new Laya.Vector3(-15, 0, 0), true, false); //3.清除照相机颜色 camera.clearColor = null; var directionLight = scene.addChild(new Laya.DirectionLight()); directionLight.direction = new Laya.Vector3(0, -0.8, -1); directionLight.color = new Laya.Vector3(0.7, 0.6, 0.6); var layaMonkey...
来源: Laya_示例 发布时间: 20260106
...定了一个物体的形状和外观,但是光源决定了你的环境的颜色和氛围。灯光的种类有多种,不同的光源呈现的效果不同,可以设置不同的参数。 目前光源的种类有: DirectionLight(平行光) PointLight(点光源) SpotLight(聚光灯) A...
来源: Laya3.0_文档 发布时间: 20251010
颜色滤镜 差值变化 /** * leo */ module touch { /** * 颜色工具类 */ export class ColorTool { private _targetsValue: number = 16777215; private _targetsLastValue: number = null; private targets: Array<Laya.Sprite> = null; public static instance: ColorTool =...
来源: Laya_社区 发布时间: 20180930
...属性 `renderMode:int` [write-only] 设置渲染模式。 `color:Vector4` 颜色 `tilingOffset:Vector4` 获取纹理平铺和偏移。 `texture:BaseTexture` 漫反射贴图。 `depthWrite:Boolean` 是否写入深度。 `cull:int` 剔除方式。 `blend:int` 混合方式。 `blendSrc:int` 混合源...
来源: Laya2.0_文档 发布时间: 20210715
...属性 `renderMode:int` [write-only] 设置渲染模式。 `color:Vector4` 颜色 `tilingOffset:Vector4` 获取纹理平铺和偏移。 `texture:BaseTexture` 漫反射贴图。 `depthWrite:Boolean` 是否写入深度。 `cull:int` 剔除方式。 `blend:int` 混合方式。 `blendSrc:int` 混合源...
来源: Laya2.0_文档 发布时间: 20210714
...属性 `renderMode:int` [write-only] 设置渲染模式。 `color:Vector4` 颜色 `tilingOffset:Vector4` 获取纹理平铺和偏移。 `texture:BaseTexture` 漫反射贴图。 `depthWrite:Boolean` 是否写入深度。 `cull:int` 剔除方式。 `blend:int` 混合方式。 `blendSrc:int` 混合源...
来源: Laya2.0_文档 发布时间: 20210714
...属性 `renderMode:int` [write-only] 设置渲染模式。 `color:Vector4` 颜色 `tilingOffset:Vector4` 获取纹理平铺和偏移。 `texture:BaseTexture` 漫反射贴图。 `depthWrite:Boolean` 是否写入深度。 `cull:int` 剔除方式。 `blend:int` 混合方式。 `blendSrc:int` 混合源...
来源: Laya2.0_文档 发布时间: 20210714
...属性 `renderMode:int` [write-only] 设置渲染模式。 `color:Vector4` 颜色 `tilingOffset:Vector4` 获取纹理平铺和偏移。 `texture:BaseTexture` 漫反射贴图。 `depthWrite:Boolean` 是否写入深度。 `cull:int` 剔除方式。 `blend:int` 混合方式。 `blendSrc:int` 混合源...
来源: Laya2.0_文档 发布时间: 20210715