大约有 21 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0062 秒)
...doTexture : BaseTexture 获取漫反射贴图。 PBRSpecularMaterial alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial blend : int 获取混合方式。 PBRSpecularMaterial blendDst : int 获取混合目标...
来源: Laya2.0_api 发布时间: 20190513
...doTexture : BaseTexture 获取漫反射贴图。 PBRStandardMaterial alphaTest : Boolean 获取是否透明裁剪。 BaseMaterial alphaTestValue : Number 获取透明测试模式裁剪值。 BaseMaterial blend : int 获取混合方式。 PBRStandardMaterial blendDst : int 获取混合目标...
来源: Laya2.0_api 发布时间: 20190513
..._SRC_ALPHA RENDER_STATE_BLEND_SRC_RGB RENDER_STATE_CULL RENDER_STATE_DEPTH_TEST RENDER_STATE_DEPTH_WRITE RENDER_STATE_STENCIL_OP RENDER_STATE_STENCIL_REF RENDER_STATE_STENCIL_TEST RENDER_STATE_STENCIL_WRITE debugMode debugShaderVariantCollection Accessors name Methods addSubShader getSubShaderAt add...
来源: Laya3.0_api 发布时间: 20231102
...eate(this,this.onLoaded)); } private onLoaded():void{ //实例UI界面 var testView:ui.test.TestPageUI = new ui.test.TestPageUI(); Laya.stage.addChild(testView); } } new LayaUISample; WorkerLoader.workerPath = "libs/worker.js"; 设置worker.js的路径,这个worker.js是Laya官方提供的,我...
来源: Laya3.0_文档 发布时间: 20251010
...大量数据或敏感信息。 xhr.send('https://httpbin.org/post', 'name=test&age=20', 'post', 'text'); 2.2、获取HTTP响应 在发送完HTTP请求后,我们可以通过事件的帧听,针对不同的事件响应,做出相应的逻辑处理。 2.1 支持的事件类型 LayaAir中的Http...
来源: Laya3.0_文档 发布时间: 20251010
...中是怎么使用的呢 在项目中的脚本中添加如下代码: //test.bin为二进制图片,图片加密数据是在图片的前面写入了四个字节的数据 Laya.loader.fetch("resources/res/test.bin","arraybuffer").then((res)=>{ //获得res的ArrayBuffer数据 let arraybuffer: Arra...
来源: Laya3.0_文档 发布时间: 20230303
...egory.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Connecting to com.layabox.game Capturing and displaying logcat messages from application. This behavior can be disabled in the "Logcat output" section of the "Debugger" settings page. D/dalvikvm: Late-...
来源: Laya_社区 发布时间: 20171218
...鼠标事件与此对象的碰撞检测是否可穿透 优先本对象 Hit Test Prior 指定鼠标事件检测是优先检测自身,还是优先检测其子对象 Z索引 Zindex 控制 2D 场景中物体或元素的渲染层级和堆叠顺序 堆叠根节点 当一个节点成为堆叠根节点后...
来源: Laya3.0_文档 发布时间: 20251010
...示例代码如下: const { regClass, property } = Laya; //枚举 enum TestEnum { A, B, C }; //字符串形式的枚举 enum Direction { Up = 'UP', Down = 'DOWN', Left = 'LEFT', Right = 'RIGHT' }; @regClass() export class Script extends Laya.Script { @property(Number)//数字类型,等价于{ ty...
来源: Laya3.0_文档 发布时间: 20251010
...r : Laya.Animator; onStart() { this.label.on( Laya.Event.CLICK, this, this.test ); //获得状态机 this.animator = this.target.getComponent<Laya.Animator>(Laya.Animator); } //运行状态机的跑动画,可使用动作融合方式 test(e: Laya.Event) { //动画状态机,过渡融合到Ru...
来源: Laya3.0_文档 发布时间: 20251010