大约有 1,036 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0050 秒)
Laya3.0_api(529) Laya2.0_api(242) laya_api(178) Laya3.0_文档(73) Laya_社区(11) Laya2.0_示例(1) Laya_示例(1) Laya2.0_文档(1)
...启键盘事件,默认为true Methods Static hasKeyDown hasKeyDown(key: number): boolean Defined in laya/events/KeyBoardManager.ts:53 返回指定键是否被按下。 Parameters key: number 键值。 Returns boolean 是否被按下。 Globals "laya/events/KeyBoardManager" KeyBoardManager enabled ...
来源: 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 density get density(): number set density(value: number): void Inherited from ColliderBase.density Defined in laya/physics/ColliderBase.ts:95 密度值,值可以为零或者是正数,建议使用相似的密度,这样做可以改善堆叠稳...
来源: Laya3.0_api 发布时间: 20231115
...ape/ColliderShape.ts:115 Static SHAPEORIENTATION_UPX SHAPEORIENTATION_UPX: number = 0 Inherited from CompoundColliderShape.SHAPEORIENTATION_UPX Defined in laya/d3/physics/shape/ColliderShape.ts:14 形状方向_X轴正向 Static SHAPEORIENTATION_UPY SHAPEORIENTATION_UPY: number = 1 Inherited from Com...
来源: Laya3.0_api 发布时间: 20231115
...,你依旧可以从alpha中取得正确的值。 RotationInfo alpha : Number Z轴旋转角度,其值范围从0至360。 若absolute为true或者在IOS中,alpha值是从北方到当前设备方向的角度值。 RotationInfo beta : Number X轴旋转角度, 其值范围从-180至180。代...
来源: laya_api 发布时间: 20170929
... 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
...Properties Show Inherited Public Properties PropertyDefined By density : Number密度值,值可以为零或者是正数,建议使用相似的密度,这样做可以改善堆叠稳定性,默认值为10ColliderBase destroyed : Boolean[read-only] 获取是否已经销毁 。 Component enable...
来源: Laya2.0_api 发布时间: 20190513
...getAccessorComponentsNum getAccessorComponentsNum(type: glTFAccessorType): number Defined in laya/gltf/glTFUtils.ts:257 根据数据类型获取分量 Parameters type: glTFAccessorType Returns number Static getAnimationRoot getAnimationRoot(channels: glTFAnimationChannel[]): Sprite3D Defined in laya...
来源: Laya3.0_api 发布时间: 20231102
...放有延迟等)。 Public Properties PropertyDefined By duration : Number[read-only] 获取总时间。 SoundPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By dispose():void 释放声音资源。 Sound event(type:String, data:* = null):Boolean ...
来源: Laya2.0_api 发布时间: 20190513
...um Returns void containsBoundBox containsBoundBox(box: BoundBox | Bounds): number Defined in laya/d3/math/BoundFrustum.ts:406 与包围盒的位置关系。 Parameters box: BoundBox | Bounds 包围盒。 Returns number 包涵:1,相交:2,不相交:0 containsBoundSphere containsBoundSphere(sphere: Bou...
来源: Laya3.0_api 发布时间: 20231115