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

大约有 3,033 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0065 秒)

2201. 版本管理swf找同名的Json文件发现找不到 [ 50%]

...配的是Map192e06db1ff.json MovieClip类是找Map192622077fd.json export class MMovieClip extends Laya.MovieClip{         constructor(){             super();         }         //初始化预加载数据         public m_initData(url:string,atlas:boolean,a...

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

2202. laya.maths.Vector3_API3.0 [ 50%]

...nherited Externals Only exported Menu Globals "laya/maths/Vector3" Vector3 Class Vector3 Vector3 类用于创建三维向量。 Hierarchy Vector3 Implements IClone Index Constructors constructor Properties x y z ForwardLH ForwardRH NegativeUnitX ONE UnitX UnitY UnitZ Up ZERO Methods clone cloneTo cr...

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

2203. laya.resource.VideoTexture_API3.0 [ 50%]

...rnals Only exported Menu Globals "laya/resource/VideoTexture" VideoTexture Class VideoTexture VideoTexture 多媒体纹理 Hierarchy BaseTexture VideoTexture Index Constructors constructor Properties destoryedImmediately lock name url uuid DEBUG _videoTexturePool Accessors anisoLevel baseMipmapLevel...

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

2204. WebSocket通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 50%]

...直接处理即可。 接收字符串数据的完整示例: const { regClass } = Laya; @regClass() export class WebSocketDemo extends Laya.Script { private socket: Laya.Socket; //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { this.socket = new Laya.Socket(); // 注...

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

2205. 如何实现类似AS3下的BitmapData.draw去截取区域图片? [ 50%]

...ort laya.resource.Texture;     import laya.utils.Handler;     public class CupPhone     {         public function CupPhone()         {             Laya.init(550,400);             Laya.loader.load("walk.png",Handler.create(this,onLoaded));         }    ...

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

2206. laya.d3.component.hlod.HLODRender_API3.0 [ 50%]

... Only exported Menu Globals "laya/d3/component/HLOD/HLODRender" HLODRender Class HLODRender Hierarchy BaseRender HLODRender Implements IBoundsCell Index Constructors constructor Properties _extra _receiveShadow owner runInEditor scriptPath sortingFudge Accessors awaked bounds boundsChange castShadow...

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

2207. LAYA的AS3项目碰见个问题,求解 [ 50%]

...ntSize="12" editorInfo="compId=2"/> </View>   mytexts.as: public class myTexts extends myTextsUI        public function myTexts()         {             super();         }         override protected function initialize():void         {           ...

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

2208. 请问一下,怎么将下面这段AS3代码翻译成LayaAir的API [ 50%]

...et.Loader; import laya.resource.Texture; import laya.utils.Handler; public class LayaAirDemo { public function LayaAirDemo() { Laya.init(700,600); Laya.loader.load('res/apes/monkey2.png',Handler.create(this,onLoaded)) } private function onLoaded():void { var texture:Texture=Loader.getRes('res/apes/m...

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

2209. as编译js的一个问题 [ 50%]

...没问题,android也没问题,就ios有问题 package {     public class LayaSample {                  public function LayaSample() {             //初始化引擎             Laya.init(1136, 640);                          /**...

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

2210. PBR标准材质实时阴影渲染问题 [ 50%]

...odelViewer from "./ModelViewer"; import Scene = Laya.Scene; export default class Game3D extends Scene { constructor() { super(); //初始化引擎 Laya3D.init(0, 0); var scene_360 = Laya.loader.getRes("LayaScene_PUCHENG3D/Conventional/PUCHENG3D.ls") as Laya.Scene3D; Laya.stage.addChildAt(scene_360, ...

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