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

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

991. laya.net.Socket_API3.0 [ 50%]

...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

992. ProtocolBuffer通信 · LayaAir3.4 · 引擎文档 · LAYABOX [ 50%]

...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

993. laya.resource.PrefabImpl_API3.0 [ 50%]

...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

994. laya.d3.math.Vector4_API3.0 [ 50%]

...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

995. laya.d3.core.Avatar_API3.0 [ 50%]

...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

996. 屏幕适配-屏幕适配 [ 50%]

... 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

997. laya.components.Animator2D_API3.0 [ 50%]

...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

998. 加载TiledMap 不显示 [ 50%]

...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

999. laya.d3.core.light.PointLightCom_API3.0 [ 50%]

...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

1000. laya.gltf.glTFResource_API3.0 [ 50%]

...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