大约有 3,033 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0065 秒)
Laya_社区(1088) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(110)
...配的是Map192e06db1ff.json MovieClip类是找Map192622077fd.json export class MMovieClip extends Laya.MovieClip{ constructor(){ super(); } //初始化预加载数据 public m_initData(url:string,atlas:boolean,a...
来源: Laya_社区 发布时间: 20180615
...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
...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
...直接处理即可。 接收字符串数据的完整示例: const { regClass } = Laya; @regClass() export class WebSocketDemo extends Laya.Script { private socket: Laya.Socket; //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { this.socket = new Laya.Socket(); // 注...
来源: Laya3.0_文档 发布时间: 20251010
...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
... 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
...ntSize="12" editorInfo="compId=2"/> </View> mytexts.as: public class myTexts extends myTextsUI public function myTexts() { super(); } override protected function initialize():void { ...
来源: Laya_社区 发布时间: 20170703
...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
...没问题,android也没问题,就ios有问题 package { public class LayaSample { public function LayaSample() { //初始化引擎 Laya.init(1136, 640); /**...
来源: Laya_社区 发布时间: 20171011
...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