大约有 3,008 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0061 秒)
Laya_社区(1073) Laya3.0_api(672) Laya2.0_api(368) laya_api(298) Laya2.0_文档(233) Laya_示例(146) Laya2.0_示例(118) Laya3.0_文档(100)
API DocumentationAll Packages | All Classes | Index | Frames No Frames ShakeProperties | Methods Packagelaya.deviceClasspublic class ShakeInheritanceShake EventDispatcher Object Shake只能在支持此操作的设备上有效。 Public Properties PropertyDefined By instance : Shake[stat...
来源: Laya2.0_api 发布时间: 20190513
...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
...d Menu Globals "laya/d3/physics/shape/MeshColliderShape" MeshColliderShape Class MeshColliderShape MeshColliderShape 类用于创建网格碰撞器。 Hierarchy ColliderShape MeshColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallback SHAPEORIENTATION_U...
来源: Laya3.0_api 发布时间: 20231115
...ya 基本应用:const TEST_PAGE = 'TestPage.json'; //我们的 ViewModel class HelloViewModel { //每隔 500ms 自增的一个数字序列 hello$ = $.timer(0, 500); } //一个 View @createView(TEST_PAGE) class HelloView extends VmViewBase<HelloViewModel> { //绑定 viewModel 的 hello$ ...
来源: Laya_社区 发布时间: 20180128
...ternals Only exported Menu Globals "laya/d3/resource/models/SkyBox" SkyBox Class SkyBox SkyBox 类用于创建天空盒。 Hierarchy GeometryElement SkyBox Index Constructors constructor Properties _geometryElementOBj instance Accessors bufferState destroyed drawType indexFormat instanceCount mode M...
来源: Laya3.0_api 发布时间: 20231115
API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorSkinProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorSkinInheritanceVertexPositionNormalColorSkin ObjectImplements IVertex VertexPositionNormalColorSkin 类...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames PointProperties | Methods | Constants Packagelaya.mathsClasspublic class PointInheritancePoint Object Point 对象表示二维坐标系统中的某个位置,其中 x 表示水平轴,y 表示垂直轴。 Public Prope...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames SoundProperties | Methods Packagelaya.mediaClasspublic class SoundInheritanceSound EventDispatcher Object Sound 类是用来播放控制声音的类。 Public Properties PropertyDefined By duration : Number[read-only...
来源: laya_api 发布时间: 20170929
API DocumentationAll Packages | All Classes | Index | Frames No Frames PhysicsProperties | Methods Packagelaya.d3.utilsClasspublic class PhysicsInheritancePhysics Object Physics 类用于简单物理检测。 Public Properties PropertyDefined By gravity : Vector3[static] 重力。Physic...
来源: laya_api 发布时间: 20170929
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