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

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

371. 3D物理编辑 · LayaAir3.0文档 · LAYABOX [ 12%]

...代码 */ //获取物理刚体组件 this.rigidbody1 = this.cube1.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; this.rigidbody2 = this.cube2.getComponent(Laya.Rigidbody3D) as Laya.Rigidbody3D; //设置rigidbody1为触发器,取消物理反馈 this.rigidbody1.isTrigger = true; this.rigidbody2.i...

来源: Laya3.0_文档 发布时间: 20240624

372. laya.display.Sprite [ 11%]

...置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node):NodeNode callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 ...

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

373. 一篇上手LayaAir的3D物理引擎(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 11%]

...创建静态碰撞器 let staticCollider:Laya.PhysicsCollider = box.addComponent(Laya.PhysicsCollider); //设置为触发器,取消物理反馈 staticCollider.isTrigger = true; /* ……省略若干代码 */ ``` #### 2.2 理解各种碰撞器 ##### 2.2.1 静态碰撞器 `PhysicsCollider` LayaAir的3...

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

374. laya.ui.Button_API3.0 [ 7%]

...ton):void { console.log("按钮button被点击了!") } } Hierarchy UIComponent Button CheckBox Radio Implements ISelect Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag toggle drawtocanvCtx Accessors _isHei...

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

375. laya.ui.CheckBox_API3.0 [ 7%]

... anchorX anchorY blendMode bottom cacheAs centerX centerY clickHandler components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea iconOffset is3D labe...

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

376. laya.ui.Radio_API3.0 [ 7%]

... anchorX anchorY blendMode bottom cacheAs centerX centerY clickHandler components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize filters globalRotation globalScaleX globalScaleY graphics gray height hideFlags hitArea iconOffset is3D labe...

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

377. laya.ui.TextInput_API3.0 [ 7%]

...gColor blendMode bold borderColor bottom cacheAs centerX centerY color components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize editable filters fitContent focus font fontSize globalRotation globalScaleX globalScaleY graphics gray heigh...

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

378. laya.ui.TextArea_API3.0 [ 7%]

...gColor blendMode bold borderColor bottom cacheAs centerX centerY color components customRenderEnable dataSource destroyed disabled displayHeight displayWidth displayedInStage drawCallOptimize editable filters fitContent focus font fontSize globalRotation globalScaleX globalScaleY graphics gray hScro...

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