大约有 1,764 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0058 秒)
Laya_社区(623) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya3.0_文档(86) Laya2.0_api(67) laya_api(64)
...ternals Only exported Menu Globals "laya/events/InputManager" InputManager Class InputManager Hierarchy InputManager Index Constructors constructor Properties clickTestThreshold isTextInputting isiOSWKwebView keyEventsEnabled mouseEventsEnabled mouseX mouseY multiTouchEnabled Accessors inst touchCou...
来源: Laya3.0_api 发布时间: 20231115
...d Menu Globals "laya/d3/physics/shape/ConeColliderShape" ConeColliderShape Class ConeColliderShape ConeColliderShape 类用于创建圆锥碰撞器。 Hierarchy ColliderShape ConeColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallback SHAPEORIENTATION_U...
来源: Laya3.0_api 发布时间: 20231115
... Externals Only exported Menu Globals "laya/d3/shader/SubShader" SubShader Class SubShader SubShader 类用于创建SubShader。 Hierarchy SubShader Index Constructors constructor Properties IncludeUniformMap Methods _addShaderPass addShaderPass getFlag setFlag __init__ regIncludeBindUnifrom Object ...
来源: Laya3.0_api 发布时间: 20231102
...会报错说_showGridList不存在,需要在libs/LayaAir.d.ts里,找到class MapLayer extends Sprite这一行,在下面加上 _showGridList: Array<any>;即可 wu语 • 2018-08-07 19:51 1.7.19.1版本不行
来源: Laya_社区 发布时间: 20170627
...建议用脚本方式实现,比如子弹脚本。 */ export default class GameUI extends ui.test.TestSceneUI { private mat1: Laya.BlinnPhongMaterial; private newScene: Laya.Scene3D; private arr: any; constructor() { super(); ...
来源: Laya_社区 发布时间: 20201120
...libs 文件下的类未定义 as 自动生成的页面逻辑类报错:__class未定义 Scene3D未定义 问题状态 最新活动: 2017-09-20 20:08 浏览: 749 关注: 2 人
来源: Laya_社区 发布时间: 20170920
...esource.HTMLCanvas; import laya.ui.Image; /** * ... * @author ww */ public class TestBase64Img { public function TestBase64Img() { Laya.init(1000, 900); testDraw(); } public function testDraw():void { var sp:Sprite; sp = new Sprite(); sp.graphics.drawRect(0, 0, 100, 100, "#ff0000"); Laya.stage.addCh...
来源: Laya_社区 发布时间: 20170417
...址](https://layaair.ldc.layabox.com/api2/Chinese/index.html?category=Core&class=laya.d3.physics.Rigidbody3D); #### (1) 使用代码创建和添加刚体 在有需要的情况下,我们可以通过代码创建的方式给对象加上刚体。 下面的示例代码中我们简单的创建了个...
来源: Laya2.0_文档 发布时间: 20210714
...Sprite = Laya.Sprite import Box = Laya.Box /** 公告栏 */ export default class Notice extends View { /** 滚动区域 */ hornBox: Box /** html对象 */ html: HTMLDivElement /** 滚动框的宽度 */ defaultX = 1110 /** 动画是否出于播放状态 */ isPlayIng:boolean = false /** 空格 */ priva...
来源: Laya_社区 发布时间: 20180314
... 淡淡的疯 • 2018-09-10 21:27 3D模式下的确是这样,20M内存 class LayaAir3D { constructor() { //初始化微信小游戏 Laya.MiniAdpter.init(); //初始化引擎 Laya3D.init(0, 0, true); //适配模式 Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SC...
来源: Laya_社区 发布时间: 20180908