大约有 1,253 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0049 秒)
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/HTMLCanvas" HTMLCanvas Class HTMLCanvas HTMLCanvas 是 Html Canvas 的代理类,封装了 Canvas 的属性和方法。 Hierarchy Resource HTMLCanvas Index Constructors constructor Proper...
来源: Laya3.0_api 发布时间: 20231115
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/LoaderManager" LoaderManager Class LoaderManager LoaderManager 类用于用于批量加载资源。此类是单例,不要手动实例化此类,请通过Laya.loader访问。 全部队列加...
来源: Laya3.0_api 发布时间: 20231102
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/render/command/CommandBuffer" CommandBuffer Class CommandBuffer CommandBuffer 类用于创建命令流。 Hierarchy CommandBuffer Index Constructors constructor Accessors casterShadow conte...
来源: Laya3.0_api 发布时间: 20231115
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 请问如何让textinput组件输入密码的时候显示*号? 请问layaair2.0-js 怎么用程序在list中添加多元素的item List滑动条会引起单元格上的按钮点击后多次触发点击事件 怎...
来源: Laya_社区 发布时间: 20180312
...端代码: let PORT: number = 8080; let IP: string = "127.0.0.1"; export class NetSocket extends Laya.Socket{ private static _instance: NetSocket; public static get instance(): NetSocket { if (!NetSocket._instance) { NetSocket...
来源: Laya_社区 发布时间: 20170602
...dler = Laya.Handler; import WebGL = Laya.WebGL; import Event = Laya.Event; export class InputDevice_Compasss { private compassImgPath:string = "../../res/inputDevice/kd.png"; private compassImg:Sprite; private degreesText:Text; private directionIndicator:Sprite; private firstTime:Boolean = true; con...
来源: Laya_示例 发布时间: 20250223
...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 写了一个小塔防游戏,分享给初学的朋友们(ts版本)《二》 分享:使用 Chart.js 创建图标 自己做的小游戏,很想把它发到微信小游戏里,但是太大了,就来这里分...
来源: Laya_社区 发布时间: 20170313
Resources already exist,is repeated loading 加载特效报重复加载 export default class TransformDemo{ private scene:Laya.Scene3D; private position:Laya.Vector3 = new Laya.Vector3(0, 0, 0); private position1:Laya.Vector3 = new Laya.Vector3(0, 0, 0); private rotat...
来源: Laya_社区 发布时间: 20190509
...rom "laya/webgl/WebGL"; import { Main } from "../Main"; /** * 仿生兽 */ export class Physics_Strandbeests { Main: typeof Main = null; private scale = 2.5; private pos: Array = [500, 400]; private m_offset: Array = [0, -80 * this.scale]; private pivot: Array = [0, 8 * this.scale]; private wheel: S...
来源: Laya2.0_示例 发布时间: 20250223
...ocationInfo; import Browser = Laya.Browser; import Handler = Laya.Handler; export class InputDevice_Map { // 百度地图 private map; private marker; private BMap = Browser.window.BMap; private convertor = new this.BMap.Convertor(); // Div private mapDiv; private infoText:Text; constructor() { Laya...
来源: Laya_示例 发布时间: 20250223