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

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

491. laya.d3.component.Script3D [ 43%]

...ublic class Script3DInheritanceScript3D Component Object Script3D 类用于创建脚本的父类,该类为抽象类,不允许实例。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By destroyed : Boolean[read-only] 获取是否已经销毁 。 ...

来源: Laya2.0_api 发布时间: 20190513

492. 使用百度地图 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...dZoom(new this.BMap.Point(116.32715863448607, 39.990912172420714), 15); // 创建标注物 this.marker = new this.BMap.Marker(new this.BMap.Point(0, 0)); this.map.addOverlay(this.marker); } init()函数初始化百度地图。关闭了大部分交互功能,只留下拖动地图。地图初始地...

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

493. laya.d3.physicscannon.CannonPhysicsTriggerComponent_API3.0 [ 42%]

...onent Class CannonPhysicsTriggerComponent PhysicsTriggerComponent 类用于创建物理触发器组件。 Hierarchy CannonPhysicsComponent CannonPhysicsTriggerComponent CannonPhysicsCollider Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Access...

来源: Laya3.0_api 发布时间: 20231102

494. laya.d3.physicscannon.CannonPhysicsCollider_API3.0 [ 42%]

...CannonPhysicsCollider Class CannonPhysicsCollider PhysicsCollider 类用于创建物理碰撞器。 Hierarchy CannonPhysicsTriggerComponent CannonPhysicsCollider CannonRigidbody3D Index Constructors constructor Properties _extra _singleton canScaleShape owner runInEditor scriptPath Accessors awaked ...

来源: Laya3.0_api 发布时间: 20231102

495. HTTP通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 42%]

...的状态。比如查询数据等。 GET请求的示例代码如下: //创建HttpRequest对象 const xhr = new Laya.HttpRequest(); //发送HTTP的GET请求,数据会附加在URL中,适用于无需发送大量数据的情况。 xhr.send('https://httpbin.org/get', null, 'get', 'text'); 2.1.3 POS...

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

496. laya.components.Script [ 42%]

...Classpublic class ScriptInheritanceScript Component Object Script 类用于创建脚本的父类,该类为抽象类,不允许实例。 组件的生命周期 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By destroyed : Boolean[read-only] 获...

来源: Laya2.0_api 发布时间: 20190513

497. 资源加载(ActionScript-3D基础(AS3)-LayaAir3D之资源加载) [ 42%]

...机的天空渲染器 var skyRenderer:SkyRenderer = camera.skyRenderer; //创建天空盒的mesh skyRenderer.mesh = SkyBox.instance; //设置天空盒材质 skyRenderer.material = mat; })); ``` 来看下效果(图2)。 ![](img/2.png)(图2) #### 3. 纹理加载 ​ 加载单个纹理使用Texture...

来源: Laya2.0_文档 发布时间: 20210715

498. LayaAir和原生DOM交互(JavaScript-2D进阶篇(JS)-扩展模块) [ 42%]

...ded(){ var btn = new Laya.Button("res/a.png"); Laya.stage.addChild(btn); //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file = Laya.Browser.document.createElement("input"); //设置file样式 file.style="filter:alpha(opacity=0);opacity:0;w...

来源: Laya2.0_文档 发布时间: 20210714

499. LayaAir和原生DOM交互(TypeScript-2D进阶篇(TS)-扩展模块) [ 42%]

...那么我们就来修改下,看看怎么改变样式。 ```typescript //创建隐藏的file并且把它和按钮对齐。达到位置一致,这里我们默认在0点位置 var file:any = Laya.Browser.document.createElement("input"); //设置file样式 file.style="filter:alpha(opacity=0);opacity:...

来源: Laya2.0_文档 发布时间: 20210715

500. [临时解决]bug?加载sk问题 [ 41%]

...跟我的应用场景不一样啊。 我不是通过代码从0加载然后创建骨骼对象, 我是直接在ui设计器中拖入*.sk文件生成的SkeletonPlayer节点, 然后运行时,获取那个节点产生的Skeleton进行后续操作。 看了我上传的项目文件吗? Laya_Aaron •...

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