大约有 15 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0040 秒)
...但是,导入Layaair之后就遇到没有透明度的问题。 float4 _Main_Tex_var = tex2D(_Main_Tex,TRANSFORM_TEX(i.uv0, _Main_Tex)); float4 node_6615 = _Time + _TimeEditor; float3 emissive = (_Main_Tex_var.rgb * _Color.rgb * ((sin((node_6615.g * _Flicker_Speed)) + 2.0) * 0.5 * _Intensity)); flo...
来源: Laya_社区 发布时间: 20171211
...mport laya.resource.Texture; import rain.core.StageReferance; public class Main { private var _view:Sprite; public function Main() { Config.isAntialias = true;//抗锯齿 //初始化引擎 Laya.init(1024, 768); //Stat.show(); Laya.stage.bgColor = "#ccc"; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; L...
来源: Laya_社区 发布时间: 20180319
...ils.Handler; import laya.utils.Stat; import laya.webgl.WebGL; public class Main { private var _tex:Texture; private var _htmlCanvas:HTMLCanvas; private var _colorSpr:Sprite; private var _colorTex:Texture; private var _initPixelCount:int; public function Main() { Laya.init(1024, 768, WebGL); Stat.sho...
来源: Laya_社区 发布时间: 20180302
...动chrome出现错误: Error processing launch: Error Could not attach to main target unity中的模型导出后在laya中显示不正常 从unity导出的场景透贴和模型烘焙的灯光不显示,请问有知道是什么原因的吗?~~~~~~~~~~~~~ 版本不匹配! 全局 tsc (2.2.2) != VS Co...
来源: Laya_社区 发布时间: 20180114
... export default class Test1Material extends BaseMaterial { public readonly MAIN_TEX:number = Shader3D.propertyNameToID("u_MainTex"); public readonly NOISE_TEX:number = Shader3D.propertyNameToID("u_NoiseTex"); public readonly Time:number = Shader3D.propertyNameToID("u_Time"); constructor() { super(...
来源: Laya_社区 发布时间: 20190923
...部分: const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { @property({type: Laya.Sprite,caption:"测试组件1"}) private testSprite: Laya.Sprite; @property({type: Laya.Sprite,caption:"测试组件2"}) private testSprite2: Laya.Sprite...
来源: Laya_社区 发布时间: 20251229
新人求教!!! // 程序入口 class Main{ //需要切换的图片资源路径 private monkey1:string = "res/img/monkey1.png"; private monkey2:string = "res/img/monkey2.png"; //切换状态 private flag:boolean = false; private img:Laya.Sprite; constructor() { //初始化引擎 ...
来源: Laya_社区 发布时间: 20180226
...动chrome出现错误: Error processing launch: Error Could not attach to main target 如何设置Sprite的宽高和点击区域? Laya2.6.0beta 物理引擎 刚体碰撞点位置获取不正确 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译...
来源: Laya_社区 发布时间: 20201127
...lt class CurveBlinnPhong extends Laya.BlinnPhongMaterial { public readonly MAIN_TEX: number = Laya.Shader3D.propertyNameToID("u_MainTex"); public readonly X_OFFSET: number = Laya.Shader3D.propertyNameToID("u_XOffset"); public readonly Y_OFFSET: number = Laya.Shader3D.propertyNameToID("u_YOffset"); p...
来源: Laya_社区 发布时间: 20201009
...动chrome出现错误: Error processing launch: Error Could not attach to main target 纹理平铺怎么做 关于近期iOS提交,因违反苹果3.1.1导致APP上架被拒的说明 自定义场景类导出layaMaxUI.ts有前缀导致报错 LayaAir2D示例 Mac 2.0.0beta3 Chrome调试黑屏 按钮坐...
来源: Laya_社区 发布时间: 20190108