大约有 7 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0035 秒)
...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
...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
...worldRoot=场景,然后移动场景即可 可以通过IDE-"项目设置" 开启物理辅助线显示,或者通过代码PhysicsDebugDraw.enable(); Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By allowRotation : Boolean是否允许旋转...
来源: Laya2.0_api 发布时间: 20190513
...射属性。 PBRSpecularMaterial enableReflection : Boolean 获取是否开启反射。 PBRSpecularMaterial normalTexture : BaseTexture 获取法线贴图。 PBRSpecularMaterial normalTextureScale : Number 获取法线贴图缩放系数。 PBRSpecularMaterial occlusionTexture : BaseTextu...
来源: Laya2.0_api 发布时间: 20190513
...射属性。 PBRStandardMaterial enableReflection : Boolean 获取是否开启反射。 PBRStandardMaterial metallic : Number 获取金属度。 PBRStandardMaterial metallicGlossTexture : BaseTexture 获取金属光滑度贴图。 PBRStandardMaterial normalTexture : BaseTexture 获取法...
来源: Laya2.0_api 发布时间: 20190513
...射贴图。 Scene3D customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Sprite destroyed : Boolean = false[只读]是否已经销毁。对象销毁后不能再使用。Node displayedInStage : Boolean[r...
来源: Laya2.0_api 发布时间: 20190513
...缩放系数。Stage customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Sprite designHeight : Number = 0设计高度(初始化时设置的高度Laya.init(width,height))Stage designWidth : Numbe...
来源: Laya2.0_api 发布时间: 20190513