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

大约有 2,982 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0067 秒)

811. laya.d3.physicscannon.shape.CannonSphereColliderShape_API3.0 [ 72%]

...3/physicsCannon/shape/CannonSphereColliderShape" CannonSphereColliderShape Class CannonSphereColliderShape SphereColliderShape 类用于创建球形碰撞器。 Hierarchy CannonColliderShape CannonSphereColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCal...

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

812. 用JS原生态window.location.href跳转 [ 72%]

...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

813. laya.d3.physics.shape.MeshColliderShape_API3.0 [ 72%]

...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

814. vmLaya: MVVM for LayaAir [ 72%]

...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

815. laya.d3.resource.models.SkyBox_API3.0 [ 72%]

...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

816. laya.d3.graphics.VertexPositionNormalColorSkin [ 72%]

API DocumentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorSkinProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorSkinInheritanceVertexPositionNormalColorSkin ObjectImplements IVertex VertexPositionNormalColorSkin 类...

来源: laya_api 发布时间: 20170929

817. laya.maths.Point [ 72%]

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

818. laya.media.Sound [ 72%]

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

819. laya.d3.utils.Physics [ 72%]

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

820. ts项目因为类的顺序问题报错 [ 72%]

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