大约有 1,253 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0055 秒)
...a; @regClass() /** * 在节点上添加2D拖尾渲染器的示例代码 */ export class NewScript extends Laya.Script { declare owner: Laya.Sprite; private _trail2D: Laya.Trail2DRender; //从场景文件中获取到的宽度曲线数据 private _widthCurve: any[]; //从场景文件中获取到的颜...
来源: Laya3.0_文档 发布时间: 20250214
有关Laya3D碰撞检测疑问 module test { export class Test { private ray: Laya.Ray = new Laya.Ray(new Laya.Vector3(0, 0, 0), new Laya.Vector3(0, 0, 0)); private point: Laya.Vector2 = new Laya.Vector2(); private _outHitAllInfo: Array<Laya.RaycastHit>; private camera: Laya.Camera; private...
来源: Laya_社区 发布时间: 20180820
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/Loader" Loader Class Loader Loader 类可用来加载文本、JSON、XML、二进制、图像等资源。 Hierarchy EventDispatcher Loader Index Constructors constructor Properties maxLoader re...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/Texture2D" Texture2D Class Texture2D Texture2D 类用于生成2D纹理。 Hierarchy BaseTexture Texture2D Index Constructors constructor Properties _id destroyedImmediately lock name url u...
来源: Laya3.0_api 发布时间: 20231115
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/utils/Stat" Stat Class Stat Stat 是一个性能统计面板,可以实时更新相关的性能参数。 参与统计的性能参数如下(所有参数都是每大约1秒进行更新): FPS(W...
来源: Laya3.0_api 发布时间: 20231115
...etwork/interfaces/IHttpResponse"; import Notice from "../../utils/Notice"; export default class AuthReg extends ui.AuthRegUI { /** 密码临时存储 */ private _tmp_pwd: string = ""; /** 输入框数组 */ private _arrInput: Laya.TextInput = [this.input_nickname, this.input_mobile, this.input_passw...
来源: Laya_社区 发布时间: 20200410
...格渲染器的效果: const { regClass, property } = Laya; @regClass() export class Mesh2DRender extends Laya.Script { @property({type: Laya.Sprite}) private layaMonkey: Laya.Sprite; //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { Laya.loader.load("resources/laya...
来源: Laya3.0_文档 发布时间: 20250214
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/Transform3D" Transform3D Class Transform3D Transform3D 类用于实现3D变换。 Hierarchy EventDispatcher Transform3D NativeTransform3D Index Properties tmpVec3 Accessors localMatrix loca...
来源: Laya3.0_api 发布时间: 20231115
...下呢? vvv123 • 2020-01-07 17:25 @星夜:window.wxMiniGame = function (exports, Laya) { 'use strict'; function DEB(str){ console.debug("[res]"+str); } class MiniFileMgr { static isLocalNativeFile(url) { for (var i = 0, sz = MiniAdpter.nativefiles.length; i < sz; i++) { if (url.indexO...
来源: Laya_社区 发布时间: 20200103
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/ui/AutoBitmap" AutoBitmap Class AutoBitmap AutoBitmap 类是用于表示位图图像或绘制图形的显示对象。 封装了位置,宽高及九宫格的处理,供UI组件使用。 Hierarchy ...
来源: Laya3.0_api 发布时间: 20231115