大约有 612 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0058 秒)
...art onUpdate Constructors constructor new PhysicsComponent(collisionGroup: number, canCollideWith: number): PhysicsComponent Overrides Component.constructor Defined in laya/d3/physics/PhysicsComponent.ts:353 创建一个 PhysicsComponent 实例。 Parameters collisionGroup: number 所属碰撞组。...
来源: Laya3.0_api 发布时间: 20231115
...lic class TiledMapDemo { private var tMap:TiledMap; private var scaleValue:Number = 0; private var MapX:Number = 0; private var MapY:Number = 0; private var mLastMouseX:Number; private var mLastMouseY:Number; public function TiledMapDemo() { //初始化舞台 Laya.init(Browser.width, Browser.height,...
来源: Laya2.0_文档 发布时间: 20210714
... in laya/components/Component.ts:86 Returns boolean density get density(): number set density(value: number): void Inherited from ColliderBase.density Defined in laya/physics/ColliderBase.ts:95 密度值,值可以为零或者是正数,建议使用相似的密度,这样做可以改善堆叠稳...
来源: Laya3.0_api 发布时间: 20231115
...Update Constructors constructor new CannonPhysicsCollider(collisionGroup?: number, canCollideWith?: number): CannonPhysicsCollider Overrides CannonPhysicsTriggerComponent.constructor Defined in laya/d3/physicsCannon/CannonPhysicsCollider.ts:6 创建一个 PhysicsCollider 实例。 Parameters Default...
来源: Laya3.0_api 发布时间: 20231102
... in laya/components/Component.ts:86 Returns boolean density get density(): number set density(value: number): void Inherited from ColliderBase.density Defined in laya/physics/ColliderBase.ts:95 密度值,值可以为零或者是正数,建议使用相似的密度,这样做可以改善堆叠稳...
来源: Laya3.0_api 发布时间: 20231115
... in laya/components/Component.ts:86 Returns boolean damping get damping(): number set damping(value: number): void Defined in laya/physics/joint/DistanceJoint.ts:116 刚体在回归到节点过程中受到的阻尼比,建议取值0~1 Returns number Defined in laya/physics/joint/DistanceJoint.ts:12...
来源: Laya3.0_api 发布时间: 20231115
... in laya/components/Component.ts:86 Returns boolean damping get damping(): number set damping(value: number): void Defined in laya/physics/joint/MouseJoint.ts:114 刚体在回归到节点过程中受到的阻尼比,建议取值0~1 Returns number Defined in laya/physics/joint/MouseJoint.ts:118 刚...
来源: Laya3.0_api 发布时间: 20231115
...s[static] 全局画布实例(非主画布)。Browser clientHeight : Number[static] [read-only] 浏览器窗口可视高度。 通过分析浏览器信息获得。浏览器多个属性值优先级为:window.innerHeight(包含滚动条高度) > document.body.clientHeight(不包含滚动条...
来源: laya_api 发布时间: 20170929
... in laya/components/Component.ts:86 Returns boolean density get density(): number set density(value: number): void Defined in laya/physics/ColliderBase.ts:95 密度值,值可以为零或者是正数,建议使用相似的密度,这样做可以改善堆叠稳定性,默认值为10 Returns numbe...
来源: Laya3.0_api 发布时间: 20231115
...c Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Component array : Array 列...
来源: laya_api 发布时间: 20170929