大约有 1,150 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0067 秒)
Laya3.0_api(314) Laya_社区(291) Laya2.0_api(226) laya_api(174) Laya2.0_文档(113) Laya3.0_文档(29) Laya2.0_示例(3)
...于Tween类多个对象同时缓动的时候过一段时间会不同步 我创建了7个实例 然后在他们内部封装了动画方法然后同步执行 private function loadComplete2():void { Laya.stage.addChild(view); for(var i:int=1;i<=7;i++) { var tempItem:ItemUi=new ItemUi() Laya.stage....
来源: Laya_社区 发布时间: 20180524
...structor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns ScaleBox Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownG...
来源: Laya3.0_api 发布时间: 20231115
...ColliderShape Class CannonSphereColliderShape SphereColliderShape 类用于创建球形碰撞器。 Hierarchy CannonColliderShape CannonSphereColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallback SHAPEORIENTATION_UPX SHAPEORIENTATION_UPY SHAPEORIENTAT...
来源: Laya3.0_api 发布时间: 20231102
...structor Overrides Sprite.constructor Defined in laya/ui/UIComponent.ts:24 创建一个新的 Component 实例。 Parameters Default value createChildren: boolean = true Returns Box Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphi...
来源: Laya3.0_api 发布时间: 20231115
...hape" MeshColliderShape Class MeshColliderShape MeshColliderShape 类用于创建网格碰撞器。 Hierarchy ColliderShape MeshColliderShape Implements IClone Index Constructors constructor Properties needsCustomCollisionCallback SHAPEORIENTATION_UPX SHAPEORIENTATION_UPY SHAPEORIENTATION_UPZ Access...
来源: Laya3.0_api 发布时间: 20231115
...设置触发器的方式: ```typescript /* ……省略若干代码 */ //创建盒型MeshSprite3D let box = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(sX, sY, sZ))) as Laya.MeshSprite3D; //创建静态碰撞器 let staticCollider:Laya.PhysicsCollider = box.addComponent(Laya....
来源: Laya2.0_文档 发布时间: 20210715
...: string): void Defined in laya/display/Node.ts:67 如果节点从资源中创建,这里记录是他的url Returns string Defined in laya/display/Node.ts:74 设置资源的URL Parameters path: string Returns void Methods _initialize _initialize(): void Defined in laya/display/Node.ts:103 Returns v...
来源: Laya3.0_api 发布时间: 20231115
...obals "laya/d3/resource/models/SkyBox" SkyBox Class SkyBox SkyBox 类用于创建天空盒。 Hierarchy GeometryElement SkyBox Index Constructors constructor Properties _geometryElementOBj instance Accessors bufferState destroyed drawType indexFormat instanceCount mode Methods _getType clearRenderPa...
来源: Laya3.0_api 发布时间: 20231115
...ndler.create(this,this.graphicsImg)); } private graphicsImg():void{ //创建一个实例 this.img = new Laya.Sprite(); //添加到舞台 Laya.stage.addChild(this.img); //显示初始化绘制的图片 this.switchImg(); //侦听switchImg中图片区域的点击事...
来源: Laya_社区 发布时间: 20180226
...UIGroup Overrides UIComponent.constructor Defined in laya/ui/UIGroup.ts:63 创建一个新的 Group 类实例。 Parameters Default value labels: string = null 标签集字符串。以逗号做分割,如"item0,item1,item2,item3,item4,item5"。 Default value skin: string = null 皮肤。 Returns UI...
来源: Laya3.0_api 发布时间: 20231115