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

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

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 [ 51%]

...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.material.PBRSpecularMaterial [ 49%]

...射属性。 PBRSpecularMaterial  enableReflection : Boolean 获取是否开启反射。 PBRSpecularMaterial  normalTexture : BaseTexture 获取法线贴图。 PBRSpecularMaterial  normalTextureScale : Number 获取法线贴图缩放系数。 PBRSpecularMaterial  occlusionTexture : BaseTextu...

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

5. laya.d3.core.material.PBRStandardMaterial [ 48%]

...射属性。 PBRStandardMaterial  enableReflection : Boolean 获取是否开启反射。 PBRStandardMaterial  metallic : Number 获取金属度。 PBRStandardMaterial  metallicGlossTexture : BaseTexture 获取金属光滑度贴图。 PBRStandardMaterial  normalTexture : BaseTexture 获取法...

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

6. laya.d3.core.scene.Scene3D [ 33%]

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

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

7. laya.display.Stage [ 28%]

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

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