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

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

1. laya.physics.Physics [ 100%]

...fined By  Physics()Physics  enable(options:Object = null):void[static] 开启物理世界 options值参考如下: allowSleeping:true, gravity:10, customUpdate:false 自己控制物理更新时机,自己调用Physics.update Physics event(type:String, data:* = null):Boolean 派发事件。 Ev...

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

2. laya.physics.PhysicsDebugDraw [ 57%]

...de EventDispatcher Object 物理辅助线,调用PhysicsDebugDraw.enable()开启,或者通过IDE设置打开 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[read...

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

3. laya.physics.RigidBody [ 50%]

...worldRoot=场景,然后移动场景即可 可以通过IDE-"项目设置" 开启物理辅助线显示,或者通过代码PhysicsDebugDraw.enable(); Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By  allowRotation : Boolean是否允许旋转...

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

4. laya.d3.core.scene.Scene3D [ 34%]

...射贴图。 Scene3D customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Sprite destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[r...

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

5. laya.display.Stage [ 30%]

...缩放系数。Stage customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Sprite  designHeight : Number = 0设计高度(初始化时设置的高度Laya.init(width,height))Stage  designWidth : Numbe...

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