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

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

261. laya.resource.RenderTextureCube_API3.0 [ 63%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/RenderTextureCube" RenderTextureCube Class RenderTextureCube SpotLight 类用于创建RenderTextureCube。 Hierarchy RenderTexture RenderTextureCube Implements IRenderTarget Index Construc...

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

262. laya.d3.webxr.core.WebXRRenderTexture_API3.0 [ 63%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/WebXR/core/WebXRRenderTexture" WebXRRenderTexture Class WebXRRenderTexture author miner 类用来创建WebXRRenderTexture Hierarchy RenderTexture WebXRRenderTexture Implements IRenderTarget Inde...

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

263. popup设置了关闭效果后,窗口关闭但遮罩层没有关掉,请问如何处理 [ 63%]

...e.linearIn);              }   import { ui } from "./ui/layaMaxUI"; export default class ShopDialog extends ui.ShopDialogUI { constructor() { super(); this.popupEffect = Laya.Handler.create(this, this.showEffect); this.closeEffect = Laya.Handler.create(this, this.hideEffect); this.btnClose.on...

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

264. 区块地图-PerspectiveWall [ 63%]

... Laya.Rectangle; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class TiledMap_PerspectiveWall { private tiledMap: TiledMap; constructor(){ // 不支持WebGL时自动切换至Canvas Laya.init(700, 500, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_...

来源: Laya2.0_示例 发布时间: 20260930

265. TiledMap地图 · LayaAir3.4 · 引擎文档 · LAYABOX [ 63%]

... 3.2.2 创建地图示例 const { regClass, property } = Laya; @regClass() export class Main extends Laya.Script { private tMap:Laya.TiledMap; onEnable() { //创建地图对象 this.tMap = new Laya.TiledMap(); //创建Rectangle实例,视口区域 var viewRect:Laya.Rectangle = new Laya.Rectangle(0,...

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

266. laya.d3.resource.MulSampleRenderTexture_API3.0 [ 63%]

...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/resource/MulSampleRenderTexture" MulSampleRenderTexture Class MulSampleRenderTexture MulSampleRenderTexture类用于创建多重采样渲染目标 webGL2.0多重采样才会生效 Hierarchy Rend...

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

267. ProgressBar 代码问题 [ 62%]

... loading.changeValue); }); 进度条代码: import Handler = Laya.Handler; export class Onloading extends ui.LoadingUI{        constructor(){        super();        this.loadingBar.changeHandler = new Handler(this, this.onChange); } public changeValue():void{        console.log("chan...

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

268. 请问在2.0版本的js中,如何获取mouse_move的鼠标坐标 [ 62%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 问题状态 最新活动: 2018-11-01 17:14 浏览: 3930 关注: 2 人

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

269. laya2.0版本支持MeshColliderShape吗 [ 62%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? laya2.0加载3d场景报错Uncaught TypeError: Cannot read property 'btCollisionObject' of undefined 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 问题状态 最新活动: 2018-08...

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

270. 精灵 · LayaAir3.4 · 引擎文档 · LAYABOX [ 62%]

...并添加如下代码: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Sprite }) public sprite1: Laya.Sprite; @property({ type: Laya.Sprite }) public sprite2: Laya.Sprite; constructor() { super();...

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