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

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

921. laya.d3.graphics.VertexDeclaration [ 70%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexDeclarationProperties | Methods | Constants Packagelaya.d3.graphicsClasspublic class VertexDeclarationInheritanceVertexDeclaration Object ... Public Properties PropertyDefined By  _conchVertexDeclaration : *Ver...

来源: laya_api 发布时间: 20170929

922. 粒子系统-场景与粒子 [ 70%]

...ranslate(new Laya.Vector3(0, 1, 0)); camera.addComponent(CameraMoveScript);class Particle_Scene { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene: Laya.Scene = Laya.stage.addChild(Laya....

来源: Laya_示例 发布时间: 20251209

923. 网络和格式-GET [ 70%]

...种开发语言、LayaAirIDE让项目开发更高效。let hr, logger; class Network_GET { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage, Stat = Laya.Stat, Handler = Laya.Handler, Event = Laya.Event, Accelerator = Laya.Accelerator; // 不支持WebGL时自动...

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

924. TypeError: Cannot read property '_layer' of null; at Function.FrustumCulling.renderObjectCulling [ 70%]

...rror: Cannot read property 'cursor' of undefined错误 Uncaught TypeError: Class constructor Component cannot be invoked without 'new' 关于graphics.drawTexture方法设置纹理报错TypeError: texture.getIsReady is not a function 升级到2.2.0Beta报错Uncaught TypeError: Class constructor Sprit...

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

925. as3的类里定义的字段编译后会被注释 [ 70%]

...字段编译后会被注释 AS3中下面的一个简单的数据类 public class Demo { public var a:int; public var b:String; public function Demo() { } }通过编译后会变成下面的代码class Demo{ constructor (){ //this.a=0; //this.b=null; } }这里字段a和b在编译后会被注释掉,...

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

926. laya.d3.core.particleShuriKen.module.TextureSheetAnimation [ 70%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames TextureSheetAnimationProperties | Methods Packagelaya.d3.core.particleShuriKen.moduleClasspublic class TextureSheetAnimationInheritanceTextureSheetAnimation ObjectImplements laya.d3.core.IClone TextureSheetAnimation 类...

来源: Laya2.0_api 发布时间: 20190513

927. laya.d3.physicscannon.shape.CannonBoxColliderShape_API3.0 [ 70%]

...laya/d3/physicsCannon/shape/CannonBoxColliderShape" CannonBoxColliderShape Class CannonBoxColliderShape BoxColliderShape 类用于创建盒子形状碰撞器。 Hierarchy CannonColliderShape CannonBoxColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallba...

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

928. layaair2.0 js的程序入口在哪?跟以前的不一样了 。 [ 70%]

... QZONE 微信 张佩斌 赞同来自: 同一个bundle.js里面,有一个class Main 还有一个class Main$1 执行了一次Main,还执行了一次Main$1 , 是怎么回事呢 怎么生成的两个 2019-12-05 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题...

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

929. UI-Tab [ 70%]

...目开发更高效。let skins = ["res/ui/tab1.png", "res/ui/tab2.png"]; class UI_Tab { 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.ali...

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

930. Sprite-切换纹理 [ 70%]

...monkey1.png", monkey2Str = "res/apes/monkey2.png", monkey1Res, monkey2Res; class Sprite_SwitchTexture { constructor() { const Browser = Laya.Browser, WebGL = Laya.WebGL, Stage = Laya.Stage; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.st...

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