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

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

111. laya.particle.emitter.EmitterBase [ 83%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames EmitterBaseProperties | Methods Packagelaya.particle.emitterClasspublic class EmitterBaseInheritanceEmitterBase Object EmitterBase 类是粒子发射器类 Public Properties PropertyDefined By  emissionRate : Number ...

来源: laya_api 发布时间: 20170929

112. 绘制图形的BUG [ 83%]

...kage ui.test { import laya.display.Sprite; import laya.utils.Tween; public class MyBox extends Sprite { private var _shape:Sprite; public function MyBox() { super(); graphics.drawRect(0,0,200,200,"#00ff00"); _shape=new Sprite(); _shape.graphics.drawCircle(0,0,20,"#ff0000"); addChild(_shape); //加...

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

113. Laya ts版,使用jasmine进行单元测试 [ 83%]

...!'; } 一个是src/Library/ToolService.ts, 内容为module Library{ export class ToolService{ constructor(){ } public static sum(a:number, b:number):number { return a + b; } } }   一个是 src/Library/UserService.ts, 内容为module Library{ export class UserService{ constructor(){ } public multip...

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

114. TypeError: Cannot read property '_byteLength' of null [ 83%]

...r.window.conch.setFontFaceFromBuffer is not a function 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_社区 发布时间: 20180125

115. 鼠标穿透问题 [ 83%]

...t laya.ui.List; import laya.utils.Handler; import laya.webgl.WebGL; public class Bootstrapper extends Sprite { protected var _list:List; protected var _items:Array; protected var _loadingBg:Sprite; public function Bootstrapper() { Laya.init(696, 1118, WebGL); Laya.stage.bgColor = "#232628"; Laya.sta...

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

116. laya.d3.animation.AnimationClip [ 83%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames AnimationClipProperties | Methods Packagelaya.d3.animationClasspublic class AnimationClipInheritanceAnimationClip laya.resource.Resource AnimationClip 类用于动画片段资源。 Public Properties PropertyDefined By...

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

117. 3D变换 · LayaAir3.3 · 引擎文档 · LAYABOX [ 83%]

...x、y和z方向上分别移动距离1,示例代码如下: const { regClass, property } = Laya; @regClass() export class NewScript extends Laya.Script { @property({ type: Laya.Sprite3D }) public cube: Laya.Sprite3D; // 平移距离 private translate: Laya.Vector3 = new Laya.Vector3(1, 1, 1); cons...

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

118. 分包、多模块时的编译器BUG [ 83%]

...ument,Laya){     var __un=Laya.un,__uns=Laya.uns,__static=Laya.static,__class=Laya.class,__getset=Laya.getset,__newvec=Laya.__newvec; })(window,document,Laya); 此时就算编译1万次,也不会正常,除非你修改了a.TempModule的内容。 但如果切换IDE,从LayaIDE改为由FlashBui...

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

119. laya.d3.renderobjs.nativeobj.NativeVertexBuffer3D_API3.0 [ 83%]

...s "laya/d3/RenderObjs/NativeOBJ/NativeVertexBuffer3D" NativeVertexBuffer3D Class NativeVertexBuffer3D Hierarchy VertexBuffer3D NativeVertexBuffer3D Index Constructors constructor Properties _buffer _bufferType _bufferUsage _byteLength _conchVertexBuffer3D _glBuffer Accessors bufferUsage canRead inst...

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

120. laya.d3.math.BoundSphere_API3.0 [ 83%]

...xternals Only exported Menu Globals "laya/d3/math/BoundSphere" BoundSphere Class BoundSphere BoundSphere 类用于创建包围球。 Hierarchy BoundSphere Implements IClone Index Constructors constructor Properties _center _radius Accessors center radius Methods clone cloneTo intersectsRayDistance i...

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