大约有 729 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0040 秒)
Laya3.0_api(284) Laya2.0_api(154) laya_api(114) Laya_社区(84) Laya2.0_文档(47) Laya3.0_文档(44) Laya2.0_示例(1) Laya_示例(1)
...rt laya.utils.Handler; import laya.webgl.WebGL; import ui.ComponentDemoUI; public class ComponentDemo { //资源路径 private var skin1:String="res/component/check.png"; private var skin2:String ="res/component/check_2.png"; public function ComponentDemo() { //初始化引擎,设置宽高并开...
来源: Laya2.0_文档 发布时间: 20210714
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/maths/Vector3" Vector3 Class Vector3 Vector3 类用于创建三维向量。 Hierarchy Vector3 Implements IClone Index Constructors constructor P...
来源: Laya3.0_api 发布时间: 20231115
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/Browser" Browser Class Browser Browser 是浏览器代理类。封装浏览器及原生 js 提供的一些功能。 Hierarchy Browser Inde...
来源: Laya3.0_api 发布时间: 20231115
...一条必须选中组件上赋值才有效,在场景选择会失效 // public var nodes2:*; /** @prop {name:ease1,type:Ease}*/ sase1:any; ``` 部分显示效果如下: 
来源: Laya2.0_文档 发布时间: 20200603
...一条必须选中组件上赋值才有效,在场景选择会失效 // public var nodes2:*; /** @prop {name:ease1,type:Ease}*/ sase1:any; ``` 部分显示效果如下: 
来源: Laya2.0_文档 发布时间: 20210714
...); ``` > 初始化shader ```typescript //初始化我们的自定义shader public static function initShader() { //所有的attributeMap属性 var attributeMap = { 'a_Position': Laya.VertexMesh.MESH_POSITION0, 'a_Normal': Laya.VertexMesh.MESH_NORMAL0 }; //所有的uniform属性 var uniformMap = { 'u...
来源: Laya2.0_文档 发布时间: 20210715
Laya.sprite.on 绑定事件传参数的问题 on () method public function on(type:String, caller:*, listener:Function, args:Array = null):EventDispatcher使用 EventDispatcher 对象注册指定类型的事件侦听器对象,以使侦听器能够接收事件通知。 Parameters type:String ...
来源: Laya_社区 发布时间: 20170308
...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/HttpRequest" HttpRequest Class HttpRequest HttpRequest 通过封装 HTML XMLHttpRequest 对象提供了对 HTTP 协议的完全的访问,...
来源: Laya3.0_api 发布时间: 20231115
...Preparing search index... The search index is not available ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Vector3" Vector3 Class Vector3 Vector3 类用于创建三维向量。 Hierarchy Vector3 Implements IClone Index Constructors constructor...
来源: Laya3.0_api 发布时间: 20231102
...,使用Android Studio打开项目,在类JSBridge中添加下列函数: public static String testString(String value) { Log.d("JSBridge", "java: " + value); return "LayaBox"; } public static double testNumber(double value) { Log.d("JSBridge", "java: " + value); return 512; } public static boolean...
来源: Laya3.0_文档 发布时间: 20250422