大约有 1,763 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0054 秒)
Laya_社区(623) Laya3.0_api(482) Laya2.0_文档(180) Laya_示例(146) Laya2.0_示例(116) Laya3.0_文档(85) Laya2.0_api(67) laya_api(64)
...isplay.Sprite; import laya.events.Event; import laya.utils.Browser; public class LayaAirTest { public function LayaAirTest() { Laya.init(550,400); var sp:Sprite=new Sprite(); sp.graphics.drawRect(0,0,100,100,"#FFFF00"); Laya.stage.addChild(sp); sp.size(1000,100); sp.on(Event.CLICK,this,onClick); } p...
来源: Laya_社区 发布时间: 20161215
...enu Globals "laya/d3/core/particleShuriKen/module/shape/BoxShape" BoxShape Class BoxShape BoxShape 类用于创建球形粒子形状。 Hierarchy BaseShape BoxShape Implements IClone Index Constructors constructor Properties enable randomDirection shapeType x y z Methods clone cloneTo generatePositi...
来源: Laya3.0_api 发布时间: 20231115
官方DynamicBatchTest照做为什么动态合不了批? class DynamicBatchTest { constructor() { Laya3D.init(0, 0); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; Laya.Stat.show(); var scene = Laya.stage.addChild(new Laya.Scene3D()); scene.ambien...
来源: Laya_社区 发布时间: 20191112
....layabox.com/api2/Chinese/index.html?version=2.9.0beta&type=2D&category=UI&class=laya.ui.VSlider)。 ProgressBar 组件的资源示例:  (图1)  (图2) 设置 ProgressBar 组件的属性 value 的值为 0.3 后,显...
来源: Laya2.0_文档 发布时间: 20210715
ts项目因为类的顺序问题报错 a.ts class A {} b.ts class B{} new A() <!--jsfile--startTag--> <script src="js/b.js"></script> <script src="js/a.js"></script> <!--jsfile--endTag--> 报错 ReferenceError: A is not defined 因为js文件的执行...
来源: Laya_社区 发布时间: 20170805
...d3/component/Animator/AnimatorStateCondition" AnimatorStateNumberCondition Class AnimatorStateNumberCondition Hierarchy AnimatorStateCondition AnimatorStateNumberCondition Index Constructors constructor Accessors compareFlag id name numberValue type Methods checkState conditionIDToName conditionName...
来源: Laya3.0_api 发布时间: 20231102
... Globals "laya/d3/core/render/InstanceRenderElement" InstanceRenderElement Class InstanceRenderElement Hierarchy RenderElement InstanceRenderElement Index Constructors constructor Properties _batchElement _renderElementOBJ _transform Accessors InvertFront Methods _convertSubShader _renderUpdatePre c...
来源: Laya3.0_api 发布时间: 20231115
封装类的时候 怎么在类中表示自身? class BackGround extends Laya.Sprite{ constructor() { super(); new init(); function init() { var bg1 = new Laya.Sprite(); var bg2 = new Laya.Sprite(); //背景图 // box.loadImage("../bin/background.png"); // Laya.stage.addChild(box); bg1.loadImage("....
来源: Laya_社区 发布时间: 20160926
...s.Browser; import laya.webgl.WebGL; import laya.wx.mini.MiniAdpter; public class LayaSample { public var sprite:Sprite = new Sprite(); public function LayaSample() { //初始化引擎 MiniAdpter.init(); Laya.init(Browser.width, Browser.height,WebGL); Laya.stage.scaleMode = "full"; Laya.stage.bgColor...
来源: Laya_社区 发布时间: 20190515
...ported Menu Globals "laya/d3/component/Volume/VolumeManager" VolumeManager Class VolumeManager VolumeManager 类用于管理体积组件 Hierarchy VolumeManager Implements IVolumeManager Index Constructors constructor Properties _volumetricGIManager ReflectionProbeVolumeType VolumetricGIType Accesso...
来源: Laya3.0_api 发布时间: 20231115