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

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

1121. 引擎 TiledMap 居然不支持图块翻转 [ 33%]

...--------------------------------------------------------------- (function (exports, Laya) {     'use strict';     const TiledMapFlipConst = 1073741824;     const TiledMapFlipConstHalf = TiledMapFlipConst / 2;     class GridSprite extends Laya.Sprite {         constructor() {         ...

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

1122. laya.d3.core.particleshuriken.ShurikenParticleInstanceSystem_API3.0 [ 33%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/ShurikenParticleInstanceSystem" ShurikenParticleInstanceSystem Class ShurikenParticleInstanceSystem Hierarchy ShurikenParticleSystem ShurikenParticleInstanceSystem Implemen...

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

1123. laya.d3.core.reflectionprobe.ReflectionProbe_API3.0 [ 32%]

...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/reflectionProbe/ReflectionProbe" ReflectionProbe Class ReflectionProbe ReflectionProbe 类用于实现反射探针组件 miner Hierarchy Sprite3D ReflectionProbe Index Constructors construc...

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

1124. 分享,扩展Laya.Text组件实现简单的富文本 [ 32%]

...写Text类的排版和渲染函数以实现自定义的富文本类型) */ export class Label extends Laya.Text { constructor() { super(); } private typeList = {}; //取出文本里面的关键字 private typeIndexList = ; //关键字所在文本的位置 private typeLines = ; //利用关键字重...

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

1125. 对接上架字节跳动小游戏技术指南(TypeScript-小游戏适配文档-字节跳动小游戏) [ 32%]

...初始化到接口使用的基础流程 */ import Browser = Laya.Browser; export default class GameRecorderMgr { /**录屏实例**/ private _recorder: any; static _instance: GameRecorderMgr; /**视频地址**/ private _videoPath: String = ""; constructor() { GameRecorderMgr.instance = this; //判断...

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

1126. 微信小游戏 · LayaAir3.0文档 · LAYABOX [ 32%]

...分包的示例代码: const { regClass, property } = Laya; @regClass() export class Script extends Laya.Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Scene3D }) scene3d: Laya.Scene3D; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已...

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

1127. laya.d3.core.light.LightSprite_API3.0 [ 31%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/light/LightSprite" LightSprite Class LightSprite deprecated LightSprite 类用于创建灯光的父类。 Hierarchy Sprite3D LightSprite DirectionLight PointLight SpotLight Index Constructo...

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

1128. 一篇上手LayaAir的3D物理引擎(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 31%]

...代码如下: ```typescript /** * TypeScript语言的3D脚本示例 */ export default class TSDemo extends Laya.Script3D { constructor() { super(); } } ``` > 2D脚本与3D脚本不要混用,如果是用IDE创建的脚本模板,需要将继承的2D脚本类(Laya.Script)改为3D脚本类(L...

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

1129. laya.d3.core.light.PointLight_API3.0 [ 31%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/light/PointLight" PointLight Class PointLight deprecated PointLight 类用于创建点光。 Hierarchy LightSprite PointLight Index Constructors constructor Properties _extra _scene _url na...

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

1130. laya.d3.core.BaseCamera_API3.0 [ 30%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/BaseCamera" BaseCamera Class BaseCamera BaseCamera 类用于创建摄像机的父类。 Hierarchy Sprite3D BaseCamera Camera Index Constructors constructor Properties _extra _forward _scene...

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