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

大约有 608 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0052 秒)

311. laya.d3.physics.PhysicsComponent [ 75%]

... : Boolean[read-only] 获取是否为单实例组件。 Component owner : Node [只读]获取所属Node节点。 Component  restitution : Number 获取弹力。 PhysicsComponent  rollingFriction : Number 获取滚动摩擦力。 PhysicsComponent  simulation : PhysicsSimulation[read-only] 获...

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

312. laya.d3.physics.constraints.ConfigurableConstraint_API3.0 [ 75%]

...Component.ts:81 连接的两个物体是否进行碰撞检测 owner owner: Node Inherited from Component.owner Defined in laya/components/Component.ts:24 获取所属Node节点。 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/components/Component.ts:3...

来源: Laya3.0_api 发布时间: 20231115

313. laya.physics.joint.PulleyJoint [ 75%]

...节点,是相对于otherBody的左上角位置偏移PulleyJoint owner : Node [只读]获取所属Node节点。 Component  ratio : Number = 1.5[首次设置有效]两刚体移动距离比率PulleyJoint  selfAnchor : Array[首次设置有效]自身刚体链接点,是相对于自身刚体的...

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

314. laya.physics.joint.DistanceJoint [ 75%]

...刚体,可不设置,默认为左上角空刚体DistanceJoint owner : Node [只读]获取所属Node节点。 Component  selfAnchor : Array[首次设置有效]自身刚体链接点,是相对于自身刚体的左上角位置偏移DistanceJoint  selfBody : RigidBody[首次设置有效]关节...

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

315. laya.map.MapLayer [ 74%]

...vents Packagelaya.mapClasspublic class MapLayerInheritanceMapLayer Sprite Node EventDispatcher Object 地图支持多层渲染(例如,地表层,植被层,建筑层等) 本类就是层级类 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefine...

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

316. mac laya 2.5beta ts示例工程 tsconfig.json tartget 改成es5 编译报错 [ 74%]

... found. at error (/Applications/LayaAirIDE_beta.app/Contents/Resources/app/node_modules/rollup/dist/rollup.js:9402:30) at Object.error (/Applications/LayaAirIDE_beta.app/Contents/Resources/app/node_modules/rollup/dist/rollup.js:15621:24) at Object.error (/Applications/LayaAirIDE_beta.app/Contents/Re...

来源: Laya_社区 发布时间: 20200311

317. laya.display.EffectAnimation [ 74%]

...ectAnimationInheritanceEffectAnimation FrameAnimation AnimationBase Sprite Node EventDispatcher Object 动效模板。用于为指定目标对象添加动画效果。每个动效有唯一的目标对象,而同一个对象可以添加多个动效。 当一个动效开始播放时,其他动效会...

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

318. 设置transform.localRotation之后,就不能再使用transform.rotate了 [ 74%]

...来自: 我使用的版本是 1.7.2 beta附件是测试例子,是一个nodejs工程。用node app.js --port=8888启动服务器,浏览器访问localhost:8888 等界面显示之后在console中输入test() 这会创建两张牌,第一张牌在右侧,第二张在左侧。 第一张牌使用了...

来源: Laya_社区 发布时间: 20170323

319. laya.physics.joint.MotorJoint [ 74%]

...dy : RigidBody[首次设置有效]关节的连接刚体MotorJoint owner : Node [只读]获取所属Node节点。 Component  selfBody : RigidBody[首次设置有效]关节的自身刚体MotorJointProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties Property...

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

320. AS3与JS混合编码(ActionScript-2D进阶篇(AS3)-扩展模块) [ 74%]

...代码的智能提示就会有了。 ![图5](5.jpg) (图5) ### 6. AS写Nodejs ​ 首先新建一个AS的工程,这个工程就是AS的原生的工程即可,LayaAir的类库暂时可以忽略,项目的启动类这里设置为Main.as ;然后新建一个`require.as`。 require.as 代码如...

来源: Laya2.0_文档 发布时间: 20210715