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

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

381. laya.display.Stage [ 13%]

...Sprite scene : *[read-only] 获得所属场景。 Node  screenAdaptationEnabled : Boolean = true是否启用屏幕适配,可以适配后,在某个时候关闭屏幕适配,防止某些操作导致的屏幕意外改变Stage  screenMode : String 场景布局类型。 取值范围: "none" ...

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

382. 3D物理编辑 · LayaAir3.3 · 引擎文档 · 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_文档 发布时间: 20250103

383. 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

384. 一篇上手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

385. 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

386. 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

387. 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

388. 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

389. 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