• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,200 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0276 秒)

201. 麻烦帮我看下Unity里自定义Shader导出到Layaair之后没有Alpha效果 [ 76%]

...题,我将导入后的资源,试着在Laya里面控制附图里面的Color数值,发现Alpha的数值设定是没有产生变化的,请问我该怎么做才有Unity的效果呢?   我在Laya设置Color的方法为: ._render.material._setColor(7, new Laya.Vector4(0.71,0.2,0.2117,this.tweenVa...

来源: Laya_社区 发布时间: 20171218

202. laya.d3.resource.SolidColorTexture2D [ 76%]

...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

203. Unity粒子系统导出支持列表(TypeScript-3D基础(TS)-LayaAir3D之Unity插件使用) [ 76%]

.... 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

204. viewportPointToRay产生的射线始终有偏差,是为什么? [ 76%]

... 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

205. laya.d3.core.material.BlinnPhongMaterial_API3.0 [ 76%]

...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

206. 2D拖尾渲染器 · LayaAir3.3 · 引擎文档 · LAYABOX [ 76%]

... 一个归一化的值,决定了拖尾不同位置的宽度 拖尾颜色(color) 设置拖尾的颜色,会与拖尾的渐变色混合叠加形成最终颜色 拖尾渐变色(colorGradient) 设置拖尾的渐变色,会与拖尾的颜色混合叠加形成最终颜色 纹理模式(textureMode) 控...

来源: Laya3.0_文档 发布时间: 20251010

207. 屏幕适配-自动横屏 [ 75%]

...= "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

208. 屏幕适配-自动竖屏 [ 75%]

...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

209. 2D精灵光 · LayaAir3.3 · 引擎文档 · LAYABOX [ 75%]

... = 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

210. 【Native BUG】Native下对根结点设置filter,无法更新到每个子节点,web是ok的 [ 75%]

...生效。但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