大约有 1,276 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0100 秒)
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/net/Socket" Socket Class Socket Socket 封装了 HTML5 WebSocket ,允许服务器端与客户端进行全双工(full-duplex)的实时通信,并且允许跨域通信。在建立连接后,...
来源: Laya3.0_api 发布时间: 20231115
...uf from "./libs/protobuf/protobuf"; const { regClass } = Laya; @regClass() export class ProtobufDemo extends Laya.Script { onEnable() { console.log("Game start"); } } 2.2 Protobuf示例脚本 引入了protobuf模块就可以直接在项目中使用了,这里我们写了一个简单的示例DEMO,...
来源: Laya3.0_文档 发布时间: 20251010
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/PrefabImpl" PrefabImpl Class PrefabImpl 预制体导入 Hierarchy Prefab PrefabImpl Index Constructors constructor Properties _id api data destroyedImmediately lock name url uuid version D...
来源: Laya3.0_api 发布时间: 20231115
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/math/Vector4" Vector4 Class Vector4 Vector4 类用于创建四维向量。 Hierarchy Vector4 Implements IClone Index Constructors constructor Properties w x y z ONE UnitW UnitX UnitY UnitZ ZERO ...
来源: Laya3.0_api 发布时间: 20231102
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/Avatar" Avatar Class Avatar Avatar 类用于创建Avatar。 Hierarchy Resource Avatar Implements IClone Index Constructors constructor Properties destoryedImmediately lock name url uuid AVA...
来源: Laya3.0_api 发布时间: 20231102
... Event = Laya.Event; import Image = Laya.Image; import WebGL = Laya.WebGL; export class SmartScale_T { //所有适配模式 private modes: Array = ["noscale", "exactfit", "showall", "noborder", "full", "fixedwidth", "fixedheight"]; //当前适配模式索引 private index: number = 0; //全局文本...
来源: Laya_示例 发布时间: 20260819
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/components/Animator2D" Animator2D Class Animator2D Animator2D2D动画组件 Hierarchy Component Animator2D Index Constructors constructor Properties _extra _singleton owner runInEditor scriptPath A...
来源: Laya3.0_api 发布时间: 20231115
...ctangle; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class TiledMap_IsometricWorld { private tiledMap: TiledMap; private layer: MapLayer; private sprite: Sprite; constructor () { // 不支持WebGL时自...
来源: Laya_社区 发布时间: 20201230
...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/light/PointLightCom" PointLightCom Class PointLightCom Hierarchy Light PointLightCom Index Constructors constructor Properties _extra _singleton color owner runInEditor scriptPath Accessors...
来源: Laya3.0_api 发布时间: 20231115
...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/gltf/glTFResource" glTFResource Class glTFResource Hierarchy Prefab glTFResource Index Constructors constructor Properties destoryedImmediately lock name url uuid version DEBUG Accessors cpuMemory ...
来源: Laya3.0_api 发布时间: 20231102