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

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

1. laya.d3.physics.shape.CompoundColliderShape_API3.0 [ 100%]

...rShape): void Defined in laya/d3/physics/shape/CompoundColliderShape.ts:91 添加碰撞形状。 Parameters shape: ColliderShape 子碰撞形状。 Returns void clearChildShape clearChildShape(): void Defined in laya/d3/physics/shape/CompoundColliderShape.ts:134 清空子碰撞形状。 ...

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

2. laya.components.Script_API3.0 [ 78%]

... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 owner owner: Sprite | Sprite3D Overrides Component.owner Defined in laya/components/Script.ts:14 Optional runInEditor runInEditor: boolean Inherited from Component.runInEditor Defined in laya/co...

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

3. laya.d3.physicscannon.CannonPhysicsCollider_API3.0 [ 59%]

... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Inherited from CannonPhysicsTriggerComponent.canScaleShape Defined in laya/d3/physicsCannon/CannonPhysicsComponent.ts:191 是否可以缩放Shape。 o...

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

4. laya.d3.physics.PhysicsCollider_API3.0 [ 57%]

... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Inherited from PhysicsTriggerComponent.canScaleShape Defined in laya/d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: Node I...

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

5. laya.d3.physicscannon.CannonRigidbody3D_API3.0 [ 50%]

... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Inherited from CannonPhysicsTriggerComponent.canScaleShape Defined in laya/d3/physicsCannon/CannonPhysicsComponent.ts:191 是否可以缩放Shape。 o...

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

6. laya.d3.physics.Rigidbody3D_API3.0 [ 47%]

... in laya/components/Component.ts:30 是否单例,即同一个节点只能添加此类型的脚本一次 canScaleShape canScaleShape: boolean = true Inherited from PhysicsTriggerComponent.canScaleShape Defined in laya/d3/physics/PhysicsComponent.ts:206 是否可以缩放Shape。 owner owner: Node I...

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

7. laya.ui.List_API3.0 [ 38%]

... 改变选择项执行的处理。 Laya.stage.addChild(list);//将 list 添加到显示列表。 } private function onSelect(index:int):void { trace("当前选择的项目索引: index= ", index); } } } import laya.ui.Box; import laya.ui.Label; class Item extends Box { public function Item() { ...

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

8. laya.ui.Tree_API3.0 [ 38%]

...ight = 100;//设置 tree 的高度。 Laya.stage.addChild(tree);//将 tree 添加到显示列表。 } } } import laya.ui.Box; import laya.ui.Clip; import laya.ui.Label; class Item extends Box { public function Item() { this.name = "render"; this.right = 0; this.left = 0; var selectBox:Clip = new Cli...

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

9. laya.ui.Dialog_API3.0 [ 35%]

...度。 bg.height = 250;//设置 bg 的高度。 this.addChild(bg);//将 bg 添加到显示列表。 var image = new laya.ui.Image("resource/ui/image.png");//新建一个 Image 类的实例 image 。 this.addChild(image);//将 image 添加到显示列表。 var button = new laya.ui.Button("resource/u...

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

10. laya.d3.core.scene.Scene3D_API3.0 [ 26%]

...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。 Returns number Inherited from Text.zOrder Defined in laya/display/Sprite.ts:1833 z排序,更改此值,则会按照值的大小对同一容的所有对象重新排序。值越大,越靠上。默认...

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