大约有 1,200 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0276 秒)
Laya_社区(628) Laya3.0_api(207) Laya2.0_文档(119) Laya_示例(59) Laya3.0_文档(56) laya_api(46) Laya2.0_api(44) Laya2.0_示例(41)
...题,我将导入后的资源,试着在Laya里面控制附图里面的Color数值,发现Alpha的数值设定是没有产生变化的,请问我该怎么做才有Unity的效果呢? 我在Laya设置Color的方法为: ._render.material._setColor(7, new Laya.Vector4(0.71,0.2,0.2117,this.tweenVa...
来源: Laya_社区 发布时间: 20171218
...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
.... Start Rotation - Constant 10. Flip Rotation 随机旋转概率 11. Start Color 开始颜色 - Constant 固定值 - Random between Two Constant 数值区间 12. Gravity Modifier 重力修正 13. Simulation Space 模拟空间 - Local - Hierarchy 14. Scaling Model 缩放模式 - Hierarchy - Local 15....
来源: Laya2.0_文档 发布时间: 20200822
... new Vector3(0, -1, 1); private _phasorSpriter3D:PhasorSpriter3D; private _color:Vector4 = new Vector4(1, 0, 0, 1); private _point:Vector2 = new Vector2(); private _camera:Camera; private _ray:Ray = new Ray(new Vector3(0, 0, 0), new Vector3(0, 0, 0)); public _start(state:RenderState):void { super._s...
来源: Laya_社区 发布时间: 20180201
...faultMaterial Accessors MaterialDefine MaterialProperty _defineDatas albedoColor albedoIntensity albedoTexture alphaTest alphaTestValue backDiffuse backScale blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha blendSrcRGB cpuMemory cull d...
来源: Laya3.0_api 发布时间: 20231115
... 一个归一化的值,决定了拖尾不同位置的宽度 拖尾颜色(color) 设置拖尾的颜色,会与拖尾的渐变色混合叠加形成最终颜色 拖尾渐变色(colorGradient) 设置拖尾的渐变色,会与拖尾的颜色混合叠加形成最终颜色 纹理模式(textureMode) 控...
来源: Laya3.0_文档 发布时间: 20251010
...= "showall"; Laya.stage.screenMode = Stage.SCREEN_HORIZONTAL; Laya.stage.bgColor = "#232628"; showText(); })(); function showText() { var text = new Text(); text.text = "Orientation-Landscape"; text.color = "gray"; text.font = "Impact"; text.fontSize = 50; text.x = Laya.stage.width - text.width >> 1...
来源: Laya_示例 发布时间: 20251209
...e = "showall"; Laya.stage.screenMode = Stage.SCREEN_VERTICAL; Laya.stage.bgColor = "#232628"; showText(); })(); function showText() { var text = new Text(); text.text = "Orientation-Portrait"; text.color = "gray"; text.font = "Impact"; text.fontSize = 50; text.x = Laya.stage.width - text.width >> 1;...
来源: Laya_示例 发布时间: 20251209
... = this.spriteLight.getComponent(Laya.SpriteLight2D); spritelightComponent.color = new Laya.Color(1, 1, 1); spritelightComponent.intensity = 0.5; let tex = Laya.loader.getRes("resources/spritelight.png"); spritelightComponent.spriteTexture = tex; } // 配置方向光 setDirectLight(): void { let dir...
来源: Laya3.0_文档 发布时间: 20251010
...生效。但text在添加filter的时候仍然无效。只有手动设置color才能生效。 public static setGray(node: Laya.Node, set: boolean) { for (var i = 0; i < node.numChildren; i++) { let sprite = node.getChildAt(i) as Laya.Sprite; ...
来源: Laya_社区 发布时间: 20170717