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

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

291. Sprite3D添加组件或脚本(TypeScript-3D基础(TS)-LayaAir3D之精灵) [ 66%]

...ame=ScriptSample))。 > 主类: > ```typescript class ScriptSample() { constructor(){ //初始化引擎 Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; //预加载所有资源 var resource:Array = ["res/threeDimen/skinModel/LayaMon...

来源: Laya2.0_文档 发布时间: 20210715

292. 加载-加载序列 [ 66%]

...DE让项目开发更高效。let numLoaded = 0; class Loader_Sequence { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, We...

来源: Laya2.0_示例 发布时间: 20251130

293. laya.resource.NativeRenderTexture2D_API3.0 [ 66%]

...Hierarchy BaseTexture NativeRenderTexture2D Implements IRenderTarget Index Constructors constructor Properties _id _isCameraTarget _renderTarget depthStencilTexture destroyedImmediately lock name url uuid DEBUG defuv flipyuv Accessors anisoLevel baseMipmapLevel compareMode cpuMemory defaultTexture d...

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

294. laya.d3.resource.RenderTextureCube_API3.0 [ 66%]

...e Hierarchy RenderTexture RenderTextureCube Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _inPool _isCameraTarget _renderTarget destoryedImmediately lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel colorFormat compareMode cpuMemory defaultTexture dep...

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

295. runTime使用(TypeScript-IDE篇(TS)-组件化开发相关) [ 66%]

...ault class ImageRunTime extends Laya.Image{ public scaleTime:number = 100; constructor() { super(); //设置组件的中心点 this.anchorX = this.anchorY = 0.5; //添加鼠标按下事件侦听。按时时缩小按钮。 this.on(Laya.Event.MOUSE_DOWN,this,this.scaleSmall); //添加鼠标抬起事...

来源: Laya2.0_文档 发布时间: 20210715

296. laya.resource.RenderTextureCube_API3.0 [ 66%]

... Hierarchy RenderTexture RenderTextureCube Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _id _inPool _isCameraTarget _renderTarget destroyedImmediately faceIndex lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel colorFormat compareMode cpuMemory defau...

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

297. laya.d3.webxr.core.WebXRRenderTexture_API3.0 [ 65%]

... Hierarchy RenderTexture WebXRRenderTexture Implements IRenderTarget Index Constructors constructor Properties _generateMipmap _id _inPool _isCameraTarget _renderTarget destroyedImmediately frameLoop lock name url uuid DEBUG Accessors anisoLevel baseMipmapLevel colorFormat compareMode cpuMemory defa...

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

298. laya.d3.core.particleshuriken.ShurikenParticleSystem_API3.0 [ 65%]

...rikenParticleSystem ShurikenParticleInstanceSystem Implements IClone Index Constructors constructor Properties _geometryElementOBj autoRandomSeed dragConstant dragSpeedConstantMax dragSpeedConstantMin dragType duration gravityModifier isPerformanceMode looping playOnAwake prewarm randomSeed randomiz...

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

299. 计时器-延迟调用 [ 65%]

...发语言、LayaAirIDE让项目开发更高效。class Timer_CallLater { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler; // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALI...

来源: Laya2.0_示例 发布时间: 20251130

300. Sprite-缓存为静态图像 [ 65%]

...发语言、LayaAirIDE让项目开发更高效。class Sprite_Cache { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE...

来源: Laya2.0_示例 发布时间: 20251130